Edit

Share via


FontExtentsDelegate Delegate

Definition

The delegate that is invoked when TryGetHorizontalFontExtents(FontExtents) or TryGetVerticalFontExtents(FontExtents) is invoked.

public delegate bool FontExtentsDelegate(Font font, object fontData, out FontExtents extents);

Parameters

font
Font

The font.

fontData
Object

The additional data passed to SetFontFunctions(FontFunctions, Object, ReleaseDelegate) when the functions were set.

extents
FontExtents

The font extents.

Return Value

Returns true if the Font has extents; otherwise, false.

Applies to