Print Preview ActiveX Active Users: 86 / Visits Today: 1354
Highest Active Users: 273
Print Preview ActiveX
Home | Profile | Register | Active Topics | Members | Search | FAQ | RSS
Save Password
Forgot your Password?

 All Forums
 Print Preview
 Help file
 SetEMailFormPicture - Method
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic: DirectPrinting - Property Topic Next Topic: EmailAutomaticSend - Property  


327 Posts

Posted - 07/26/2005 :  15:12:25  Show Profile
Method SetEMailFormPicture


This method adds a picture to the background of the send email box, and keeps this image for this box.


SetEMailFormPicture ( StdGraphic As StdPicture )


Supported graphics are, BMP, GIF, JPEG, ICO, Metafiles.

Using this method will keep the image in the send email box, and can be removed by resetting.


Private Sub Command0_Click()

Dim X As New StdPicture

Set X = LoadPicture("c:\windows\YourGraphicFile.bmp")

preview.AddFirstPage 500, 500, 500, 500

preview.SetEMailFormPicture X

' click the email send button in the preview window to see the result

preview.EndDocument prOTScreen

' get rid of the used picture by resetting

Set X = Nothing

preview.SetEMailFormPicture X

End Sub
See also:

Visual Basic Reference StdPicture object.

Come and visit :

Edited by - emiel on 07/04/2006 11:34:18
Go to Bottom of Page
  Previous Topic: DirectPrinting - Property Topic Next Topic: EmailAutomaticSend - Property  
 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