Size.Size

Size(Point)

Initializes a new instance of the Size struct from the specified Point.

public Size(Point pt)
ParameterTypeDescription
ptPointThe Point from which to initialize this Size.

See Also


Size(int, int)

Initializes a new instance of the Size struct from the specified dimensions.

public Size(int width, int height)
ParameterTypeDescription
widthInt32The width component of the new Size.
heightInt32The height component of the new Size.

See Also