IIXC_Page::Crop Method

From Tracker Software PDF SDK
Jump to: navigation, search

The Crop method crops the specified page to the specified rectangular area.


HRESULT Crop([in]  RECT*  stRect);


[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