SetRenderCropType
Version history
This function was introduced in Quick PDF Library version 8.11.
Description
Sets the page boundary to use as the cropping area for rendering.
Syntax
Delphi
function TQuickPDF0815.SetRenderCropType(NewCropType: Integer): Integer;
ActiveX
Function QuickPDF0815.PDFLibrary::SetRenderCropType(NewCropType As Long) As Long
DLL
int QuickPDFSetRenderCropType(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. |