Debenu Quick PDF logo

SetPageUserUnit

Page properties

Version history

This function was introduced in Quick PDF Library version 10.15.

Description

Applies a scaling factor to the PDF to allow pages size of larger than 200x200 inches to be defined. SetPageDimensions allows a maximum of 14040x14400 units to be define and this is still the case in PDF 1.6 and above. PDF 1.6 and above allow chaning the UserUnit for 1/72" to a much larger value. ie SerPageUserUnit(2); would scale the page maximum size to 400x400" where in point would actually scale to 2 points.

If you need to use this function then you should make sure QP.SetInformation(0, "1.6"); to set te PDF verision to at least version 1.6.

Syntax

Delphi

function TDebenuPDFLibrary1811.SetPageUserUnit(UserUnit: Double): Integer;

ActiveX

Function DebenuPDFLibrary1811.PDFLibrary::SetPageUserUnit(UserUnit As Double) As Long

DLL

int DPLSetPageUserUnit(int InstanceID, double UserUnit)

Parameters

UserUnit The scale factor to apply. Default for all PDF's is 1.0.

Copyright © 2020 Debenu. All rights reserved. AboutContactBlogNewsletterSupport