IIXC_Page::Crop Method
From PDF XChange PDF SDK
m (Automatic page editing by robot) |
m (Automatic page editing by robot) |
||
Line 2: | Line 2: | ||
[[Category:Editor]] | [[Category:Editor]] | ||
{{#customTitle:IIXC_Page::Crop Method}} | {{#customTitle:IIXC_Page::Crop Method}} | ||
− | {{#parentPage:PXV:IIXC_Page|Crop Method|method}} | + | {{#parentPage:PXV:IIXC_Page#Methods|Crop Method|method}} |
The '''Crop''' method crops the specified page to the specified rectangular area. | The '''Crop''' method crops the specified page to the specified rectangular area. |
Revision as of 03:03, 21 May 2015
The Crop method crops the specified page to the specified rectangular area.
Syntax
HRESULT Crop([in] RECT* pRect);
Parameters
- pRect
- [in] Pointer to RECT structure which defines the rectangular cropping area. If this parameter is NULL the function will do nothing. If it specifies an empty rectangle, or an rectangle that has no intersection with page's rectangle, function will fail.
Return Value
Returns S_OK if operation was successful or error code in other cases.