Print Preview ActiveX Active Users: 35 / Visits Today: 375
Highest Active Users: 138
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
 SetEMailFormPicture - Method
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic: DirectPrinting - Property Topic Next Topic: EmailAutomaticSend - Property  

emiel
Administrator

Belgium
327 Posts

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

Action:

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

Syntax:

SetEMailFormPicture ( StdGraphic As StdPicture )

Remarks:

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.

Example:

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 :
www.immoassist.com
www.ppreview.net
www.vbdiamond.com
www.d2dsources.com
www.mandix.com

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.06 seconds. Powered By: Snitz Forums 2000 Version 3.4.02