C# 클래스 SIL.FieldWorks.FwCoreDlgControls.FontInfoExtensions

UI extensions methods for FontInfo
파일 보기 프로젝트 열기: sillsdev/FieldWorks

공개 메소드들

메소드 설명
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.

비공개 메소드들

메소드 설명
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.

메소드 상세

ToString() 공개 정적인 메소드

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.
리턴 string

UIFontName() 공개 정적인 메소드

Gets the name of the UI font.
public static UIFontName ( this fontInfo ) : string
fontInfo this
리턴 string