Partager via


TextAttributeExtensions.GetFontSize Method

Definition

public static float GetFontSize (this Microsoft.Maui.Graphics.Text.ITextAttributes attributes, float? fontSize = default);
static member GetFontSize : Microsoft.Maui.Graphics.Text.ITextAttributes * Nullable<single> -> single
<Extension()>
Public Function GetFontSize (attributes As ITextAttributes, Optional fontSize As Nullable(Of Single) = Nothing) As Single

Parameters

attributes
ITextAttributes
fontSize
Nullable<Single>

Returns

Applies to