Quick PDF logo

SetMeasurementUnits

Measurement and coordinate units

Description

Set the units to use for all measurements given to and returned from the library.

Default user space is exactly 1/72 inches per unit, which is approximately the same as a "point", a unit used in the printing industry. 25.4 millimetres is one inch.

Syntax

Delphi

function TQuickPDF0813.SetMeasurementUnits(MeasurementUnits: Integer): Integer;

ActiveX

Function QuickPDF0813.PDFLibrary::SetMeasurementUnits(
  MeasurementUnits As Long) As Long

DLL

int QuickPDFSetMeasurementUnits(int InstanceID, int MeasurementUnits)

Parameters

MeasurementUnits The units to use:
0 = Default user space
1 = Millimetres
2 = Inches
Anything else = Default user space

Copyright © 2011 Debenu. All rights reserved. AboutContactBlogNewsletterSupportBuyForum