AutoCropPages
Page manipulation
Description
Sets each CropBox to the page content plus a margin
Syntax
Delphi
Function AutoCropPages(Const PageRange: WideString; Margin: Double): Integer;Parameters
| PageRange | Pages to crop; an empty range selects every page |
|---|---|
| Margin | Whitespace kept around the content box, in the current measurement units |
Return value
The number of pages whose CropBox was set
Remarks
Pages without any element are skipped