SetScale

Measurement and coordinate units

Description

Scales the co-ordinate system for all subsequent drawing operations. A scale factor of 1 is equivalent to calling SetMeasurementUnits(0) which sets the measurement units to be Points. A scale factor of (72 / 25.4) is equivalent to calling SetMeasurementUnits(1) which sets the measurement units to be millimetres.

Syntax

Delphi

function TPDFlib.SetScale(NewScale: Double): Integer;

ActiveX

Function PDFlib::SetScale(NewScale As Double) As Long

DLL

int DLSetScale(int InstanceID, double NewScale);

Parameters

NewScaleThe scale factor to use