SizeF.SizeF

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 structure.
heightSingleThe height component of the new SizeF structure.

See Also


SizeF(PointF)

Initializes a new instance of the SizeF struct.

public SizeF(PointF pt)
ParameterTypeDescription
ptPointFThe PointF structure from which to initialize this SizeF structure.

See Also


SizeF(SizeF)

Initializes a new instance of the SizeF struct.

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

See Also