SetPageBoxRange
Page properties
Description
Applies one boundary box to every page selected by a page-range expression
Syntax
Function TPDFlib.SetPageBoxRange(Const PageRange: WideString; BoxType: Integer; Left, Top, Width, Height: Double): Integer;Parameters
BoxType uses 1 for MediaBox, 2 for CropBox, 3 for BleedBox, 4 for TrimBox, and 5 for ArtBox
Return values
Returns the number of pages updated
Remarks
The range is parsed once, the document coordinate settings are honoured, and the selected page is restored