RemovePageBox

Page properties

Description

Removes the specified boundary rectangle from selected page.

Syntax

Delphi

function TPDFlib.RemovePageBox(BoxType: Integer): Integer;

ActiveX

Function PDFlib::RemovePageBox(BoxType As Long) As Long

DLL

int DLRemovePageBox(int InstanceID, int BoxType);

Parameters

BoxType1 = MediaBox (disabled for now) 2 = CropBox 3 = BleedBox 4 = TrimBox 5 = ArtBox

Return values

0The specified boundary rectangle was not found.
1The specified boundary rectangle was removed successfully.