This function was introduced in Quick PDF Library version 7.18.
Sets the dimensions of the selected page's boundary rectangles.
The MediaBox represents the physical medium of the page.
The CropBox represents the visible region of the page, the contents will be clipped to this region.
The BleedBox is similar to the CropBox, but is the rectangle used in a production environment.
The TrimBox indicates the intended dimensions of the finished page after trimming, and the ArtBox defines the extent of the page's meaningful content as intended by the page's creator.
function TDebenuPDFLibrary1511.SetPageBox(BoxType: Integer; Left, Top, Width,
Height: Double): Integer;
Function DebenuPDFLibrary1511.PDFLibrary::SetPageBox(BoxType As Long,
Left As Double, Top As Double, Width As Double, Height As Double) As Long
int DPLSetPageBox(int InstanceID, int BoxType, double Left, double Top,
double Width, double Height)
1 = MediaBox
2 = CropBox
3 = BleedBox
4 = TrimBox
5 = ArtBox
|Left||The horizontal co-ordinate of the left edge of the rectangle|
|Top||The vertical co-ordinate of the top edge of the rectangle|
|Width||The width of the rectangle|
|Height||The height of the rectangle|