[]
        
(Showing Draft Content)

C1.C1Preview.SizeD

SizeD Struct

Stores an ordered pair of double values, typically the width and height of a rectangle.

Namespace: C1.C1Preview
Assembly: C1.PrintDocument.8.dll
Syntax
public struct SizeD

Constructors

Name Description
SizeD(double, double)

Initializes a new instance of the SizeD structure.

Properties

Name Description
Empty

Represents an empty instance of the SizeD structure.

Height

Gets or sets the vertical component of the current SizeD.

IsEmpty

Gets a value indicating whether of the current SizeD has zero Width and Height.

Width

Gets or sets the horizontal component of the current SizeD.

Methods

Name Description
Add(SizeD, SizeD)

Adds two SizeD structures.

Ceiling()

Converts the current SizeD structure to a Point by rounding the width and height to the next higher integer values.

Substract(SizeD, SizeD)

Subtracts one SizeD structure from another.

ToString()

Converts the current SizeD structure to a human-readable string representing it.

Truncate()

Converts the current SizeD structure to a Point by truncating the width and height to integer values.

Operators

Name Description
operator +(SizeD, SizeD)

Adds two SizeD structures.

explicit operator PointD(SizeD)

Converts a SizeD to a PointD.

implicit operator SizeD(Size)

Converts a Size to a SizeD.

implicit operator SizeD(SizeF)

Converts a SizeF to a SizeD.

operator -(SizeD, SizeD)

Subtracts one SizeD structure from another.