SetTextSpacing

Text

Description

Set the amount of space to add between each line for the DrawWrappedText, GetWrappedTextHeight and DrawMultiLineText functions. The spacing applies until the next NewPage or SelectPage call.

Syntax

Delphi

Function TPDFlib.SetTextSpacing(Spacing: Double): Integer;

ActiveX

Function PDFlib::SetTextSpacing(Spacing As Double) As Long

DLL

int DLSetTextSpacing(int InstanceID, double Spacing);

Parameters

SpacingThe amount of space to add between each line

Return values

Returns 1. The spacing is converted using the current measurement units