System::Drawing::Size::Size constructor

Size::Size() constructor

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

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

See Also

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)
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

See Also

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)
ParameterTypeDescription
widthintThe value to width
heightintThe value of height

See Also