共用方式為


TextAttributeExtensions.GetFontSize 方法

定義

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

參數

attributes
ITextAttributes
fontSize
Nullable<Single>

傳回

適用於