Font.WithSize(Double) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns a new Font with the specified 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 desired font size.
Returns
A new font instance with the specified size.