Share via


PosPrinter.GetFontProperty(String) Method

Definition

Gets the specified font property from the point-of-service printers.

public:
 virtual PosPrinterFontProperty ^ GetFontProperty(Platform::String ^ typeface) = GetFontProperty;
PosPrinterFontProperty GetFontProperty(winrt::hstring const& typeface);
public PosPrinterFontProperty GetFontProperty(string typeface);
function getFontProperty(typeface)
Public Function GetFontProperty (typeface As String) As PosPrinterFontProperty

Parameters

typeface
String

Platform::String

winrt::hstring

The typeface of the font property to retrieve.

Returns

The requested font property.

Windows requirements

Device family
Windows 10, version 1903 (introduced in 10.0.18362.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v8.0)

Applies to