Debenu Quick PDF logo

SetRenderCropType

Rendering and printing

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 TDebenuPDFLibrary1811.SetRenderCropType(NewCropType: Integer): Integer;

ActiveX

Function DebenuPDFLibrary1811.PDFLibrary::SetRenderCropType(
  NewCropType As Long) As Long

DLL

int DPLSetRenderCropType(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.

Copyright © 2020 Debenu. All rights reserved. AboutContactBlogNewsletterSupport