Share via


LayoutLine Delegate

Definition

Represents a callback method that handles the layout of a line of text.

public delegate void LayoutLine(PointF aPoint, ITextAttributes ^ aTextual, System::String ^ aText, float aAscent, float aDescent, float aLeading);
public delegate void LayoutLine(PointF aPoint, ITextAttributes aTextual, string aText, float aAscent, float aDescent, float aLeading);
type LayoutLine = delegate of PointF * ITextAttributes * string * single * single * single -> unit
Public Delegate Sub LayoutLine(aPoint As PointF, aTextual As ITextAttributes, aText As String, aAscent As Single, aDescent As Single, aLeading As Single)

Parameters

aPoint
PointF

The position of the line.

aTextual
ITextAttributes

The text attributes to use for rendering the line.

aText
String

The text content of the line.

aAscent
Single

The ascent of the line (distance from baseline to the top of the tallest glyph).

aDescent
Single

The descent of the line (distance from baseline to the bottom of the deepest glyph).

aLeading
Single

The leading of the line (extra space between lines).

Applies to