Chapter 2 -- 53
Reference Guide
"
""
" Document.CopyImageToFile
VTS_BSTR or String
CopyImageToFile(Colors, Extension,
Rotation,Percent, strFilename).
Generates file that contains the Image of the document.
Return value: Returns a string that represents the full name of
the generated Bitmap file.
Parameters:
Colors OptionalVT_I2orInteger
. (Default 8). Specifies
the number of bits-per- pixel. Depending of the generated f ile,
the values must be : 1, 4, 8, 16, 24, 32.
Extension Optional VT_BSTR or String
(Default “BMP”).
Specifies the extension of the file to generate. For a complete
list of extensions, refer to the labeling software documentation.
Rotation OptionalVT_I2orInteger
(Default 0). Rotation in
geometrical degree. The values must be between 0 and 360.
Percent OptionalVT_I2orInteger
(Default 100). Scaling
factor. The values must be between 1 and 400.
strFileName Optional VT_BSTR or String
(Default “ “). If
specified: name of the generated Bitmap file.