IPXV_PagesLayoutManager::DeviceRectToPageRect Method
From PDF XChange PDF SDK
m (Automatic page editing by robot) |
m (Automatic page editing by robot) |
||
Line 9: | Line 9: | ||
== Syntax == | == Syntax == | ||
− | <pre class="brush:cpp;gutter:false">HRESULT DeviceRectToPageRect([in] ULONG | + | <pre class="brush:cpp;gutter:false">HRESULT DeviceRectToPageRect([in] ULONG PageNum, |
− | [in] RECT* | + | [in] RECT* DevRect, |
− | [in] VARIANT_BOOL | + | [in] VARIANT_BOOL ToDefaultUserSpace, |
− | [out, retval] PXC_Rect* | + | [out, retval] PXC_Rect* PageRect);</pre> |
== Parameters == | == Parameters == | ||
− | ; | + | ;PageNum |
:[in] Value of ULONG. | :[in] Value of ULONG. | ||
− | ; | + | ;DevRect |
:[in] Pointer to RECT. | :[in] Pointer to RECT. | ||
− | ; | + | ;ToDefaultUserSpace |
:[in] Value of VARIANT_BOOL. | :[in] Value of VARIANT_BOOL. | ||
− | ; | + | ;PageRect |
:[out, retval] Pointer to [[PXV:PXC_Rect|PXC_Rect]]. | :[out, retval] Pointer to [[PXV:PXC_Rect|PXC_Rect]]. | ||
Revision as of 06:38, 12 June 2015
The method of interface of PDF-XChange Editor SDK.
Syntax
HRESULT DeviceRectToPageRect([in] ULONG PageNum, [in] RECT* DevRect, [in] VARIANT_BOOL ToDefaultUserSpace, [out, retval] PXC_Rect* PageRect);
Parameters
- PageNum
- [in] Value of ULONG.
- DevRect
- [in] Pointer to RECT.
- ToDefaultUserSpace
- [in] Value of VARIANT_BOOL.
- PageRect
- [out, retval] Pointer to PXC_Rect.
Return Value
Returns S_OK if operation was successful or error code in other cases.