TextAttributesExtensions.GetIntAttribute Method

Definition

public:
[System::Runtime::CompilerServices::Extension]
 static int GetIntAttribute(Microsoft::Maui::Graphics::Text::ITextAttributes ^ attributes, Microsoft::Maui::Graphics::Text::TextAttribute type, int defaultValue);
public static int GetIntAttribute (this Microsoft.Maui.Graphics.Text.ITextAttributes attributes, Microsoft.Maui.Graphics.Text.TextAttribute type, int defaultValue);
static member GetIntAttribute : Microsoft.Maui.Graphics.Text.ITextAttributes * Microsoft.Maui.Graphics.Text.TextAttribute * int -> int
<Extension()>
Public Function GetIntAttribute (attributes As ITextAttributes, type As TextAttribute, defaultValue As Integer) As Integer

Parameters

attributes
ITextAttributes
defaultValue
Int32

Returns

Applies to