SetCropBox

Page properties

Description

Sets the visible area of the selected page. The non-visible area will be "cropped" and will not be displayed or printed.

Syntax

Delphi

function TPDFlib.SetCropBox(Left, Top, Width, Height: Double): Integer;

ActiveX

Function PDFlib::SetCropBox(Left As Double, Top As Double, Width As Double, Height As Double) As Long

DLL

int DLSetCropBox(int InstanceID, double Left, double Top, double Width, double Height);

Parameters

LeftThe horizontal co-ordinate of the left edge of the cropping rectangle
TopThe vertical co-ordinate of the top edge of the cropping rectangle
WidthThe width of the cropping rectangle
HeightThe height of the cropping rectangle