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
| BoxType | 1 = MediaBox (disabled for now) 2 = CropBox 3 = BleedBox 4 = TrimBox 5 = ArtBox |
|---|
Return values
| 0 | The specified boundary rectangle was not found. |
|---|---|
| 1 | The specified boundary rectangle was removed successfully. |