Print Preview ActiveX Active Users: 24 / Visits Today: 165
Highest Active Users: 101
Print Preview ActiveX
Home | Profile | Register | Active Topics | Members | Search | FAQ | RSS
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Print Preview
 Help file
 DrawPictureMemory
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic: DrawPicture - Method Topic Next Topic: Text on the right side always printed to next row?  

emiel
Administrator

Belgium
327 Posts

Posted - 02/10/2006 :  13:29:43  Show Profile
Method DrawPictureMemory

Action:

This method places a picture from memory in the current frame.

Syntax:

(VB)
DrawPictureMemory (oPicuretbox As Object, vXpos As Variant, vYpos As Variant, vWidth As Variant, vHeight As Variant) As String

(MSAccess)
DrawPictureMemory (oImage As Object, vXpos As Variant, vYpos As Variant, vWidth As Variant, vHeight As Variant) As String

Parameter     Opt/Req     Description                                    
  • oPictureBox Required picture or image object
  • vXpos Optional Horizontal position of top left corner
  • vYpos Optional Vertical position of top left corner
  • vWidth Optional Width of picture
  • vHeight Optional Height of picture
    The StoreType parameter can contain the following values:

    Remarks:

    This method places a picture from memory in the current frame.
    The vXpos, vYpos, vWidth and vHeight parameters may either be numbers, which are taken to be values in twips, or a string. If a parameter is specified as a string then it is converted to twips using the C_Twips function.

    The following formats are recognized:
    Type                   Extension 
    
  • Windows bitmap *.bmp
  • Icon *.ico
  • Run Length Encoded *.rle
  • Windows metafile *.wmf, *.emf
  • GIF graphics *.gif
  • JPEG graphics *.jpg
    Example:

    To place a bitmap picture:

    create a picturebox or image object on a form, assign a picture or image to it :

    Preview.DrawPictureMemory pictBanner.picture, "0.5 in", "1.0 in", "1 in", "1 in"
    See also :

    DrawPicture ---------> http://www.ppreview.net/forum/topic.asp?TOPIC_ID=355


    Come and visit :
    www.immoassist.com
    www.ppreview.net
    www.vbdiamond.com
    www.d2dsources.com
    www.mandix.com

    Edited by - emiel on 02/10/2006 13:33:44
    Go to Bottom of Page
      Previous Topic: DrawPicture - Method Topic Next Topic: Text on the right side always printed to next row?  
     New Topic  Topic Locked
     Printer Friendly
    Jump To:
    Print Preview ActiveX © Mandix Go To Top Of Page
    This page was generated in 0.08 seconds. Powered By: Snitz Forums 2000 Version 3.4.02