C# Class SIL.FieldWorks.FwCoreDlgControls.FontInfoExtensions

UI extensions methods for FontInfo
Afficher le fichier Open project: sillsdev/FieldWorks

Méthodes publiques

Méthode Description
ToString ( this fontInfo, bool fForceMinimumDescription ) : string

Returns a that represents the current . This method returns a human-readable string that is culture-sensitive

UIFontName ( this fontInfo ) : string

Gets the name of the UI font.

Private Methods

Méthode Description
AppendFontColor ( SIL.FieldWorks.FDO.DomainServices.FontInfo fontInfo, StringBuilder text ) : void

Appends the font and background color information to the description

AppendFontOffset ( StringBuilder text, int value ) : void

Appends the font offset information to the description

AppendSuperSub ( StringBuilder text, FwSuperscriptVal value ) : void

Appends the superscript/subscript information to the description

AppendToString ( StringBuilder text, string value ) : void

Appends to string.

AppendUnderline ( SIL.FieldWorks.FDO.DomainServices.FontInfo fontInfo, StringBuilder text ) : void

Appends the underline information to the description.

Method Details

ToString() public static méthode

Returns a that represents the current . This method returns a human-readable string that is culture-sensitive
public static ToString ( this fontInfo, bool fForceMinimumDescription ) : string
fontInfo this
fForceMinimumDescription bool if set to true forces at least minimum /// description (i.e., font and size) to be returned.
Résultat string

UIFontName() public static méthode

Gets the name of the UI font.
public static UIFontName ( this fontInfo ) : string
fontInfo this
Résultat string