IIXC_Page::Crop Method

From PDF XChange PDF SDK
Jump to: navigation, search
(Parameters)
Line 2: Line 2:
 
{{#customTitle:IIXC_Page::Crop Method}}
 
{{#customTitle:IIXC_Page::Crop Method}}
 
{{#parentPage:PXV:IIXC_Page|Crop Method|method}}
 
{{#parentPage:PXV:IIXC_Page|Crop Method|method}}
 +
{{ToReview}}
  
  

Revision as of 15:54, 18 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.

See Also

IIXC_Page
IIXC_Page::Clone