SetRenderCropType

Rendering and printing

Description

Sets the page boundary to use as the cropping area for rendering.

Syntax

Delphi

function TPDFlib.SetRenderCropType(NewCropType: Integer): Integer;

ActiveX

Function PDFlib::SetRenderCropType(NewCropType As Long) As Long

DLL

int DLSetRenderCropType(int InstanceID, int NewCropType);

Parameters

NewCropType1 = MediaBox 2 = CropBox 3 = BleedBox 4 = TrimBox 5 = ArtBox

Return values

0The NewCropType parameter was out of range.
1The rendering crop type was set successfully.