SizeF()

SizeF::SizeF() constructor

Constructs a new SizeF object and initializes its width and height values with 0.

System::Drawing::SizeF::SizeF()

SizeF::SizeF(const PointF&) constructor

Constructs a new SizeF object and initializes its width and height values with the values of X and Y coordinates of the specifide point correspondingly.

System::Drawing::SizeF::SizeF(const PointF &point)

Arguments

ParameterTypeDescription
pointconst PointF&A Point object whose X and Y coordinates are used to initialize width and height value of the SizeF object being created

SizeF::SizeF(float, float) constructor

Constructs a new SizeF object and initializes it with the specified value.

System::Drawing::SizeF::SizeF(float width, float height)

Arguments

ParameterTypeDescription
widthfloatThe value to width
heightfloatThe value of height

See Also