FontExtentsDelegate Delegate
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Return true if the Font has extents, otherwise false.