Share via


Font.WithSize(Double) Method

Definition

Returns a new font structure with the size that was specified with size.

public:
 Microsoft::Maui::Font WithSize(double size);
public Microsoft.Maui.Font WithSize (double size);
member this.WithSize : double -> Microsoft.Maui.Font
Public Function WithSize (size As Double) As Font

Parameters

size
Double

The requested font size.

Returns

Applies to