IIXC_Page::Rect Property
From PDF XChange PDF SDK
Line 2: | Line 2: | ||
{{#customTitle:IIXC_Page::Rect Property}} | {{#customTitle:IIXC_Page::Rect Property}} | ||
{{#parentPage:PXV:IIXC_Page|Rect Property|property}} | {{#parentPage:PXV:IIXC_Page|Rect Property|property}} | ||
− | + | ||
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]]. | 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 | + | 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. |
== Syntax == | == Syntax == |
Revision as of 10:47, 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.