DrawPage method (ILEADRasterDocument)
short DrawPage (IDispatch *pRaster, long hDC, short iPageIndex); | |
Overview |
Refer to Drawing Pages and Zones |
Remarks
Displays the specified page with or without its zones, at any size, to any device context (screen, printer, or memory DC). If the display surface has fewer colors than the image, this method dithers the output to that display surface without affecting the actual image data.
Before calling this method, the page that will be drawn must be activated by setting the ActivePageIndex property to the appropriate index.
If the ActivePageIndex property is not set to the appropriate page index before calling this method, this method will return the ERROR_DOC_ACTIVE_PAGE error.
See Also