Font.SystemFontName Font.SystemFontName Font.SystemFontName Font.SystemFontName Property

定義

如果 IsSystemFont 屬性傳回 true,則取得系統字型的名稱。Gets the name of the system font if the IsSystemFont property returns true.

public:
 property System::String ^ SystemFontName { System::String ^ get(); };
[System.ComponentModel.Browsable(false)]
public string SystemFontName { get; }
member this.SystemFontName : string
Public ReadOnly Property SystemFontName As String

屬性值

如果 IsSystemFont 傳回 true,則為系統字型的名稱;否則為空字串 ("")。The name of the system font, if IsSystemFont returns true; otherwise, an empty string ("").

備註

SystemFontName屬性所傳回的名稱會是的其中一個成員SystemFonts, 轉換成字串。The name returned by the SystemFontName property will be one of the members of the SystemFonts, converted to a string.

適用於