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 LongDLL
int DLSetRenderCropType(int InstanceID, int NewCropType);Parameters
| NewCropType | 1 = MediaBox 2 = CropBox 3 = BleedBox 4 = TrimBox 5 = ArtBox |
|---|
Return values
| 0 | The NewCropType parameter was out of range. |
|---|---|
| 1 | The rendering crop type was set successfully. |