|
Property |
Method |
Event |
Enterprise |
|
PrintToImageSaves the current file in BMP file format to the local system or prints it. SyntaxHRESULT PrintToImage( long width, BSTR fileName, long *height ); Parameterswidth [in] Width of the output image. fileName [in] The name of the file to be printed as an image. height [out, retval] Height of the output image. Return Values0 (always) RemarksOverwrites existing files if they have the same
filename as the fileName parameter. SamplesVBScript dim object, height
set object = Document.editForm
height = object.Wec.PrintToImage(640, "c:\\test.bmp")
|
||||