IPXV_PagesLayoutManager::DeviceRectToPageRect Method

From PDF XChange PDF SDK
Jump to: navigation, search


The method of interface of PDF-XChange Editor SDK.

Syntax

HRESULT DeviceRectToPageRect([in]           ULONG         nPageNum,
                             [in]           RECT*         stDevRect,
                             [in]           VARIANT_BOOL  bToDefaultUserSpace,
                             [out, retval]  PXC_Rect*     stPageRect);

Parameters

nPageNum
[in] Value of ULONG.
stDevRect
[in] Pointer to RECT.
bToDefaultUserSpace
[in] Value of VARIANT_BOOL.
stPageRect
[out, retval] Pointer to PXC_Rect.

Return Value

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

See Also

IPXV_PagesLayoutManager