'Declaration
Public Event BeforeAlternativeFontLookup As EventHandler(Of BeforeAlternativeFontLookupArgs)
public event EventHandler<BeforeAlternativeFontLookupArgs> BeforeAlternativeFontLookup
public event BeforeAlternativeFontLookup: EventHandler;
In JScript, you can handle the events defined by another class, but you cannot define your own.
public: __event EventHandler<BeforeAlternativeFontLookupArgs*>* BeforeAlternativeFontLookup
public: event EventHandler<BeforeAlternativeFontLookupArgs^>^ BeforeAlternativeFontLookup
Event Data
The event handler receives an argument of type BeforeAlternativeFontLookupArgs containing data related to this event. The following BeforeAlternativeFontLookupArgs properties provide information specific to this event.
Property | Description |
---|---|
AlternativeFamilyNames | Specifies the family names of the alternative fonts to be used prior to the standard substitution mechanism. |
Cancel | A flag specifying if the substitution process must be aborted. |
FamilyName | Specifies the family name of the font to be substituted. |
See Also