SetTextSize

Text

Description

Set the size of the text to use for any subsequently draw text. The text size is always measured in points, even if the measurement units have been changed with SetMeasurementUnits.

Syntax

Delphi

function TPDFlib.SetTextSize(TextSize: Double): Integer;

ActiveX

Function PDFlib::SetTextSize(TextSize As Double) As Long

DLL

int DLSetTextSize(int InstanceID, double TextSize);

Parameters

TextSizeThe text size in points

Return values

0A font has not been selected
1The text size was set successfully