SetTextUnderlineDash

Text

Description

Use this function to apply a dashed effect to the underlines added to subsequently drawn text.

Syntax

Delphi

function TPDFlib.SetTextUnderlineDash(DashOn, DashOff: Double): Integer;

ActiveX

Function PDFlib::SetTextUnderlineDash(DashOn As Double, DashOff As Double) As Long

DLL

int DLSetTextUnderlineDash(int InstanceID, double DashOn, double DashOff);

Parameters

DashOnA factor to use for the solid parts of the dashed line. If a factor of 1 is used then the solid parts of the line will be the same width as the line. A factor of 3 would result in the solid parts of the dashed line being three times longer than the width of the line.
DashOffA factor to use for the invisible parts of the dashed line. For example, if a factor of 2 is used then the invisible parts of the line will be twice as wide as the width of the line.