IIXC_Page::Rect Property
From PDF XChange PDF SDK
Line 4: | Line 4: | ||
{{ToReview}} | {{ToReview}} | ||
− | 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. | + | Fill ''RECT'' structure with page dimensions, ie, '''left''' and '''top''' fields will be set to zero, '''right''' - to the page [[PXV:IIXC_Page_Width|width]], and '''bottom''' to the page [[PXV:IIXC_Page_Height|height]]. |
Many methods [[PXV:IIXC_Page|IIXC_Page]] object have ''pRect'' parameter that specifies a portion of page to be processed. When this parameter is <tt>NULL</tt>, 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 methods [[PXV:IIXC_Page|IIXC_Page]] object have ''pRect'' parameter that specifies a portion of page to be processed. When this parameter is <tt>NULL</tt>, 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:45, 6 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 methods IIXC_Page object have pRect parameter that specifies a portion of page to be processed. When this parameter is NULL, 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.