SizeF.SizeF

SizeF(SizeF)

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

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(float, float)

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


SizeF(float, float, float)

Initializes a new instance of the SizeF struct.

public SizeF(float width, float height, float depth)
ParameterTypeDescription
widthSingleThe width.
heightSingleThe height.
depthSingleThe depth.

See Also