SizeF class

SizeF class

Stores an ordered pair of floating-point numbers, typically the width and height of a rectangle.

The SizeF type exposes the following members:

Constructors

NameDescription
SizeF(size)Initializes a new instance of the SizeF class
SizeF(pt)Initializes a new instance of the SizeF class
SizeF(width, height)Initializes a new instance of the SizeF class
SizeF()Initializes a new instance of the SizeF class

Properties

NameDescription
is_emptyGets a value that indicates whether this SizeF structure has zero width and height.
widthGets or sets the horizontal component of this SizeF structure.
heightGets or sets the vertical component of this SizeF structure.
EMPTYGets a SizeF structure that has a height and width value of 0.

Methods

NameDescription
clone()Clones this Aspose.Page.Drawing.SizeF.

See Also