แก้ไข

แชร์ผ่าน


SizeF.ToSize Method

Definition

Converts a SizeF structure to a Size structure.

public:
 System::Drawing::Size ToSize();
public readonly System.Drawing.Size ToSize ();
public System.Drawing.Size ToSize ();
member this.ToSize : unit -> System.Drawing.Size
Public Function ToSize () As Size

Returns

A Size structure.

Remarks

The SizeF structure is converted to a Size structure by truncating the values of the SizeF to the next lower integer values.

Applies to