FontFileSelectionEventArgs Class
Provides data for the FontSelection event.
public sealed class FontFileSelectionEventArgs : EventArgs
Public NotInheritable Class FontFileSelectionEventArgs
Inherits EventArgs
- Inheritance:
- System.ObjectSystem.EventArgsFontFileSelectionEventArgs
Properties
Bold
Gets a value indicating whether the font is bold.
Property Value
- System.Boolean
true if the font is bold; otherwise, false.
Character
Gets the Unicode character that should be outlined with the Font or -1 if no character should currently be outlined.
Property Value
- System.Int32
The Unicode character that should be outlined with the Font or -1 if no character should currently be outlined.
Font
Gets or sets the actual font that will be used for outlining the Character based on the FontName, Italic and Bold values.
Use any of the fonts returned from the Fonts collection.
Property Value
Exceptions
- System.ArgumentNullException
Value is null.
- System.ArgumentException
The specified font file does not contain outlines for the specified Character.
FontName
Gets the original font name.
Property Value
- System.String
The original font name.
Italic
Gets a value indicating whether the font is italic.
Property Value
- System.Boolean
true if the font is italic.; otherwise, false.