IIXC_Page::Rect Property
From PDF XChange PDF SDK
Line 4: | Line 4: | ||
− | Fill ''RECT'' structure with page dimensions, ie, '''left''' and '''top''' fields will be set to zero, '''right''' - to the | + | Fill ''RECT'' structure with page dimensions, ie, '''left''' and '''top''' fields will be set to zero, '''right''' - to the [[PXV:IIXC_Page_Width|page width]], and '''bottom''' to the [[PXV:IIXC_Page_Height|page height]]. |
Many [[PXV:IIXC_Page|IIXC_Page]] object methods have a ''pRect'' parameter that specifies a portion of the page to be processed. When this parameter is <tt>NULL</tt>, the entire page is processed. Some languages, like C#, cannot easily pass <tt>NULL</tt> and they need to pass a valid ''RECT'' that covers entire page, and this property may be very helpful there. | Many [[PXV:IIXC_Page|IIXC_Page]] object methods have a ''pRect'' parameter that specifies a portion of the page to be processed. When this parameter is <tt>NULL</tt>, the entire page is processed. Some languages, like C#, cannot easily pass <tt>NULL</tt> and they need to pass a valid ''RECT'' that covers entire page, and this property may be very helpful there. |
Revision as of 10:51, 18 May 2015
Fill RECT structure with page dimensions, ie, left and top fields will be set to zero, right - to the page width, and bottom to the page height.
Many IIXC_Page object methods have a pRect parameter that specifies a portion of the page to be processed. When this parameter is NULL, the entire page is processed. Some languages, like C#, cannot easily pass NULL and they need to pass a valid RECT that covers entire page, and this property may be very helpful there.
Syntax
HRESULT get_Rect([out, retval] RECT* pRect);
See Also
See also IIXC_Page.