Click or drag to resize

GdiFontManager Methods

The GdiFontManager type exposes the following members.

Methods
 NameDescription
Protected methodAddSystemGdiFontFamilies Builds the GDI font families dictionary.
Protected methodStatic memberConvertFontXStyleToFontStylePresence Converts a FontXStyle instance to a FontStylePresence instance. The styles 'Underline' and 'Strikeout' will not be considered for the conversion.
Protected methodDispose 
Protected methodEhAnnounceConstructionOfFontX Is called upon every construction of a FontX instance.
Protected methodEhAnnounceDestructionOfFontX Is called upon every destruction of a FontX instance.
Protected methodEhInstalledFontsChanged Called when the installed fonts changed during execution of this program.
Public methodStatic memberEnumerateAvailableGdiFontFamilyNames Enumerates the available GDI font family names.
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Protected methodStatic memberFontFamilyArrayToFontStylePresence 
Protected methodStatic memberFontStyleToIndex Gives the index of the font style. Not taken into account are Underline and Italic. These two flags are ignored.
Protected methodStatic memberGetFontStylePresence(FontFamily) Finds out which font styles are available for the given Gdi font family.
Protected methodStatic memberGetFontStylePresence(FontFamily, FontFamily) Finds out which font styles are available for the given Gdi font family.
Public methodStatic memberGetFontX Constructs a font from a font family name, the size and font style.
Public methodStatic memberGetFontXGenericSansSerif Gets a FontX instance of a generic sans serif font with the provided size and style.
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodStatic memberGetHeightGets the height of the font in points (1/72 inch).
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodStatic memberGetValidFontFamilyName Gets the family name from a FontX instance. If this font family name does not exist, a generic sans serif font family name is returned instead.
Protected methodInternalBuildDictionaries Build the font dictionaries.
Protected methodInternalGetAvailableFontFamilies Gets all available font families and stores them in the provided dictionary.
Protected methodInternalGetFontFamilyNameGenericSansSerif 
Protected methodInternalGetGdiFontFromFamilyAndSizeAndStyle Gets a GDI font from the the family name, size and style.
Protected methodInternalGetGdiFontFromInvariantString Gets a GDI font from the invariant string.
Protected methodInternalIsFontFamilyAndStyleAvailable Determines whether a font with the given font family name and font style is available.
Protected methodInternalIsFontFamilyAvailable Determines whether a font family with the provided name is available.
Protected methodInternalToGdi Retrieves the Gdi+ font instance that the provided FontX argument is describing.
Public methodStatic memberIsFontFamilyAndStyleAvailable Determines whether a font with the given font family name and font style is available.
Public methodStatic memberIsFontFamilyAvailable Determines whether a font family with the provided name is available.
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Protected methodSplitInvariantDescriptionString Splits an invariant description string into its parts
Public methodStatic memberToGdi Retrieves the Gdi+ font instance that the provided FontX argument is describing.
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
See Also