Size()

Size::Size() constructor

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

System::Drawing::Size::Size()

Size::Size(const Point&) constructor

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

System::Drawing::Size::Size(const Point &point)

Arguments

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

Size::Size(int, int) constructor

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

System::Drawing::Size::Size(int width, int height)

Arguments

ParameterTypeDescription
widthintThe value to width
heightintThe value of height

See Also