DrawPageToDC
IPDFDocument4
::
General document management
::
Document rasterization
See Also
Collapse All
This method draws a specified PDF page to a device context.
Syntax
HRESULT
DrawPageToDC (
OLE_HANDLE
hdc
,
LONG
pageNumber
,
FLOAT
zoomX
,
FLOAT
zoomY
,
VARIANT_BOOL
drawContols
)
Parameters
hdc
Handle of the device context
pageNumber
Number of target page
zoomX
Horizontal zoom
zoomY
Vertical zoom
drawContols
Draw controls
Return value
If successful, this method returns S_OK. If it fails, this method should return one of the error values.
See Also
Reference
SaveDocumentAsTIFF
SavePageAsBMP