SizeF

SizeF constructor (1 of 3)

Initializes a new instance of the SizeF structure from the specified SizeF.

public SizeF(SizeF size)
ParameterTypeDescription
sizeSizeFThe SizeF from which to create the new SizeF.

See Also


SizeF constructor (2 of 3)

Initializes a new instance of the SizeF structure from the specified PointF.

public SizeF(PointF point)
ParameterTypeDescription
pointPointFThe PointF from which to initialize this SizeF.

See Also


SizeF constructor (3 of 3)

Initializes a new instance of the SizeF structure from the specified dimensions.

public SizeF(float width, float height)
ParameterTypeDescription
widthSingleThe width component of the new SizeF.
heightSingleThe height component of the new SizeF.

See Also