Represents a pair of floating-point numbers, typically the width and height of a
graphical object.
Namespace: PdfEdit.Drawing
Assembly: PdfPrintingNet (in PdfPrintingNet.dll) Version: 5.1.1.0 (5.1.1.0)
Syntax
The XSize type exposes the following members.
Constructors
Name | Description | |
---|---|---|
XSize |
Initializes a new instance of the XPoint class with the specified values.
|
Methods
Name | Description | |
---|---|---|
Equals(Object) |
Indicates whether this instance and a specified object are equal.
(Overrides ValueTypeEquals(Object).) | |
Equals(XSize) |
Indicates whether this instance and a specified size are equal.
| |
Equals(XSize, XSize) |
Indicates whether this two instance are equal.
| |
FromSize |
Creates an XSize from a System.Drawing.Size.
| |
FromSizeF |
Creates an XSize from a System.Drawing.Size.
| |
GetHashCode |
Returns the hash code for this instance.
(Overrides ValueTypeGetHashCode.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
Parse |
Parses the size from a string.
| |
ToPointF |
Converts this XSize to a PointF.
| |
ToSizeF |
Converts this XSize to a SizeF.
| |
ToString |
Converts this XSize to a human readable string.
(Overrides ValueTypeToString.) | |
ToString(IFormatProvider) |
Converts this XSize to a human readable string.
| |
ToXPoint |
Converts this XSize to an XPoint.
| |
ToXVector |
Converts this XSize to an XVector.
|
Operators
Name | Description | |
---|---|---|
Equality |
Determines whether two size objects are equal.
| |
(XSize to XVector) |
Performs an explicit conversion from XSize to XVector.
| |
(XSize to XPoint) |
Performs an explicit conversion from XSize to XPoint.
| |
(Size to XSize) |
Implicit conversion from XSize to System.Drawing.Size. The conversion must be implicit because the
WinForms designer uses it.
| |
Inequality |
Determines whether two size objects are not equal.
|
Properties
Name | Description | |
---|---|---|
Empty |
Returns an empty size, i.e. a size with a width or height less than 0.
| |
Height |
Gets or sets the height.
| |
IsEmpty |
Gets a value indicating whether this instance is empty.
| |
Width |
Gets or sets the width.
|
See Also