FontRegistrar.GetFont(String) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
擷取實際使用方式的字型。
public:
virtual System::String ^ GetFont(System::String ^ font);
public string? GetFont (string font);
abstract member GetFont : string -> string
override this.GetFont : string -> string
Public Function GetFont (font As String) As String
參數
- font
- String
用來向快取註冊字型的索引鍵。
傳回
找到時,則為 的字型名稱,否則 null 為 。