SizeF.ToSize 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.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.