PageSaveAsBitmapΒΆ
PageSaveAsBitmap creates a bitmap (.BMP) or JPEG (.JPG) file from the given page.
- bool = PageSaveAsBitmap(hPage, ssFilename, nType, nPixOrQuality)
Return Value
bool TRUE (1) if the file is created successfully; otherwise FALSE (0).
Parameters
- hPage
Identifies the page.
- ssFilename
ssFilename is the name of the bitmap file.
- nType
Is one of the following values:
Value
Meaning
0
Save page as bitmap.
1
Save page as JPEG (Joint Photographics Experts Group (JPEG)).
2
Save page as PNG file.
- nPixOrQuality
nPixOrQuality. Typical quality values for JPG images: Normal = 75, Low = 25, High = 100. Color values for bitmaps (bit-per-pixel): 1, 4, 8, 16, 24, 32. The parameter will be ignored for PNG files. The files will be created with the monitor resolution. If you need files with a higher resolution use PageSaveAsBitmapEx.
id-1214590