MultiplyScale

Measurement and coordinate units

Description

Multiplies the drawing scale by a specified factor. For example, multiplying the scale by 0.5 will draw graphics at half their size with the same drawing commands.

Syntax

Delphi

Function TPDFlib.MultiplyScale(MultScaleBy: Double): Integer;

ActiveX

Function PDFlib::MultiplyScale(MultScaleBy As Double) As Long

DLL

int DLMultiplyScale(int InstanceID, double MultScaleBy);

Parameters

MultScaleByThe factor to multiply the current drawing scale by

Return values

Returns 1 when the drawing scale was multiplied. Returns 0 when MultScaleBy is zero, negative or not finite, or when the resulting scale would not be a positive finite value.