Class Size
Represents a Size.
Inherited Members
Namespace: DRIT.Document.Drawing
Assembly: DRIT.Document.dll
Syntax
public class Size
Constructors
Size()
Initializes a new instance of the Size class.
Declaration
public Size()
Size(double, double, MeasurementUnit)
Initializes a new instance of the Size class.
Declaration
public Size(double width, double height, MeasurementUnit unit)
Parameters
| Type | Name | Description |
|---|---|---|
| double | width | The width used by the operation. |
| double | height | The height used by the operation. |
| MeasurementUnit | unit | The unit used by the operation. |
Properties
Height
Gets or sets height.
Declaration
public DoubleUnit Height { get; set; }
Property Value
| Type | Description |
|---|---|
| DoubleUnit |
HeightCm
Gets height cm.
Declaration
public double HeightCm { get; set; }
Property Value
| Type | Description |
|---|---|
| double |
HeightEmu
Gets height emu.
Declaration
public double HeightEmu { get; set; }
Property Value
| Type | Description |
|---|---|
| double |
HeightInches
Gets height inches.
Declaration
public double HeightInches { get; set; }
Property Value
| Type | Description |
|---|---|
| double |
HeightPixels
Gets height pixels.
Declaration
public double HeightPixels { get; set; }
Property Value
| Type | Description |
|---|---|
| double |
HeightPoints
Gets height points.
Declaration
public double HeightPoints { get; set; }
Property Value
| Type | Description |
|---|---|
| double |
Width
Gets or sets width.
Declaration
public DoubleUnit Width { get; set; }
Property Value
| Type | Description |
|---|---|
| DoubleUnit |
WidthCm
Gets width cm.
Declaration
public double WidthCm { get; set; }
Property Value
| Type | Description |
|---|---|
| double |
WidthEmu
Gets width emu.
Declaration
public double WidthEmu { get; set; }
Property Value
| Type | Description |
|---|---|
| double |
WidthInches
Gets width inches.
Declaration
public double WidthInches { get; set; }
Property Value
| Type | Description |
|---|---|
| double |
WidthPixels
Gets width pixels.
Declaration
public double WidthPixels { get; set; }
Property Value
| Type | Description |
|---|---|
| double |
WidthPoints
Gets width points.
Declaration
public double WidthPoints { get; set; }
Property Value
| Type | Description |
|---|---|
| double |