XSize StructureTerminal Works - PDF Printing.Net Library
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.2.1.0 (5.2.1.0)
Syntax

[SerializableAttribute]
public struct XSize : IFormattable

The XSize type exposes the following members.

Constructors

  NameDescription
Public methodXSize
Initializes a new instance of the XPoint class with the specified values.
Top
Methods

  NameDescription
Public methodEquals(Object)
Indicates whether this instance and a specified object are equal.
(Overrides ValueTypeEquals(Object).)
Public methodEquals(XSize)
Indicates whether this instance and a specified size are equal.
Public methodStatic memberEquals(XSize, XSize)
Indicates whether this two instance are equal.
Public methodStatic memberFromSize
Creates an XSize from a System.Drawing.Size.
Public methodStatic memberFromSizeF
Creates an XSize from a System.Drawing.Size.
Public methodGetHashCode
Returns the hash code for this instance.
(Overrides ValueTypeGetHashCode.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodStatic memberParse
Parses the size from a string.
Public methodToPointF
Converts this XSize to a PointF.
Public methodToSizeF
Converts this XSize to a SizeF.
Public methodToString
Converts this XSize to a human readable string.
(Overrides ValueTypeToString.)
Public methodToString(IFormatProvider)
Converts this XSize to a human readable string.
Public methodToXPoint
Converts this XSize to an XPoint.
Public methodToXVector
Converts this XSize to an XVector.
Top
Operators

  NameDescription
Public operatorStatic memberEquality
Determines whether two size objects are equal.
Public operatorStatic member(XSize to XVector)
Performs an explicit conversion from XSize to XVector.
Public operatorStatic member(XSize to XPoint)
Performs an explicit conversion from XSize to XPoint.
Public operatorStatic member(Size to XSize)
Implicit conversion from XSize to System.Drawing.Size. The conversion must be implicit because the WinForms designer uses it.
Public operatorStatic memberInequality
Determines whether two size objects are not equal.
Top
Properties

  NameDescription
Public propertyStatic memberEmpty
Returns an empty size, i.e. a size with a width or height less than 0.
Public propertyHeight
Gets or sets the height.
Public propertyIsEmpty
Gets a value indicating whether this instance is empty.
Public propertyWidth
Gets or sets the width.
Top
See Also

Reference