Share via


WindowTabIcon.CreateFromFontGlyph Method

Definition

Overloads

CreateFromFontGlyph(String, String)

Creates an icon from the provided glyph and font family.

CreateFromFontGlyph(String, String, Uri)

Creates an icon from the provided glyph, font family, and font URI.

CreateFromFontGlyph(String, String)

Creates an icon from the provided glyph and font family.

public:
 static WindowTabIcon ^ CreateFromFontGlyph(Platform::String ^ glyph, Platform::String ^ fontFamily);
/// [Windows.Foundation.Metadata.Overload("CreateFromFontGlyph")]
 static WindowTabIcon CreateFromFontGlyph(winrt::hstring const& glyph, winrt::hstring const& fontFamily);
[Windows.Foundation.Metadata.Overload("CreateFromFontGlyph")]
public static WindowTabIcon CreateFromFontGlyph(string glyph, string fontFamily);
function createFromFontGlyph(glyph, fontFamily)
Public Shared Function CreateFromFontGlyph (glyph As String, fontFamily As String) As WindowTabIcon

Parameters

glyph
String

Platform::String

winrt::hstring

The character code that identifies the icon glyph.

fontFamily
String

Platform::String

winrt::hstring

The font used to display the icon glyph.

Returns

The icon created from the font glyph.

Attributes

Remarks

Important

This API is for Win32 desktop apps only. UWP and other app types are not supported.

Applies to

CreateFromFontGlyph(String, String, Uri)

Creates an icon from the provided glyph, font family, and font URI.

public:
 static WindowTabIcon ^ CreateFromFontGlyph(Platform::String ^ glyph, Platform::String ^ fontFamily, Uri ^ fontUri);
/// [Windows.Foundation.Metadata.Overload("CreateFromFontGlyphWithUri")]
 static WindowTabIcon CreateFromFontGlyph(winrt::hstring const& glyph, winrt::hstring const& fontFamily, Uri const& fontUri);
[Windows.Foundation.Metadata.Overload("CreateFromFontGlyphWithUri")]
public static WindowTabIcon CreateFromFontGlyph(string glyph, string fontFamily, System.Uri fontUri);
function createFromFontGlyph(glyph, fontFamily, fontUri)
Public Shared Function CreateFromFontGlyph (glyph As String, fontFamily As String, fontUri As Uri) As WindowTabIcon

Parameters

glyph
String

Platform::String

winrt::hstring

The character code that identifies the icon glyph.

fontFamily
String

Platform::String

winrt::hstring

The font used to display the icon glyph.

fontUri
Uri Uri

The location of the font used for rendering the glyph.

Returns

The icon created from the font glyph.

Attributes

Remarks

Important

This API is for Win32 desktop apps only. UWP and other app types are not supported.

Applies to