共用方式為


Font.WithSize Method

Definition

Overloads

WithSize(Double)

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

WithSize(NamedSize)

A new Font structure with the size that was specified with size.

WithSize(Double)

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

public Xamarin.Forms.Font WithSize (double size);
member this.WithSize : double -> Xamarin.Forms.Font

Parameters

size
System.Double

The requested font size.

Returns

Applies to

WithSize(NamedSize)

A new Font structure with the size that was specified with size.

public Xamarin.Forms.Font WithSize (Xamarin.Forms.NamedSize size);
member this.WithSize : Xamarin.Forms.NamedSize -> Xamarin.Forms.Font

Parameters

size
NamedSize

The requested named font size.

Returns

Applies to