IPXC_Page::DrawToDevice Method

From Tracker Software PDF SDK
Jump to: navigation, search


The method of interface of PDF-XChange Editor SDK.

Syntax

HRESULT DrawToDevice([in]                      HANDLE_T                hDC,
                     [in]                      RECT*                   pDestRect,
                     [in]                      PXC_Matrix*             pMatrix,
                     [in, defaultvalue(0)]     ULONG                   nFlags,
                     [in, defaultvalue(NULL)]  IPXC_PageRenderParams*  pRParams,
                     [in, defaultvalue(NULL)]  IPXC_OCContext*         pRContext,
                     [in, defaultvalue(NULL)]  IProgressMon*           pProgressMon);

Parameters

hDC
[in] Value of HANDLE_T.
pDestRect
[in] Pointer to RECT.
pMatrix
[in] Pointer to PXC_Matrix.
nFlags
[in, defaultvalue(0)] Value of ULONG.
pRParams
[in, defaultvalue(NULL)] Pointer to IPXC_PageRenderParams.
pRContext
[in, defaultvalue(NULL)] Pointer to IPXC_OCContext.
pProgressMon
[in, defaultvalue(NULL)] Pointer to IProgressMon.

Return Value

Returns S_OK if operation was successful or error code in other cases.

See Also

IPXC_Page