RemovePageBoxRange
Page properties
Description
Removes CropBox, BleedBox, TrimBox, or ArtBox from every selected page
Syntax
Function TPDFlib.RemovePageBoxRange(Const PageRange: WideString; BoxType: Integer): Integer;Parameters
| PageRange | A one-based range such as 1-3,7, or an empty string for every page |
|---|---|
| BoxType | 1 = MediaBox 2 = CropBox 3 = BleedBox 4 = TrimBox 5 = ArtBox; MediaBox and values outside 2 to 5 reject the call |
Return values
Returns the number of pages processed
Remarks
MediaBox cannot be removed because every page requires an effective media boundary