• DR-IT Software
  • Products
  • Documentation
  • Product page
  • Examples
  • API reference
  • Support
Show / Hide Table of Contents

Class Size

Represents the size used by the presentation model.

Inheritance
object
Size
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: DRIT.Presentation.Drawing
Assembly: DRIT.Presentation.dll
Syntax
public class Size

Constructors

Size()

Initializes a new instance of the size class.

Declaration
public Size()

Size(double, double, ScreenMeasurementUnit)

Initializes a new instance of the size class.

Declaration
public Size(double width, double height, ScreenMeasurementUnit unit)
Parameters
Type Name Description
double width

The width of the object, in document units.

double height

The height of the object, in document units.

ScreenMeasurementUnit unit

The unit used for the conversion.

Properties

Height

Gets or sets the height associated with this object.

Declaration
public DoubleUnit Height { get; set; }
Property Value
Type Description
DoubleUnit

HeightCm

Gets or sets the height cm associated with this object.

Declaration
public double HeightCm { get; set; }
Property Value
Type Description
double

HeightEmu

Gets or sets the height emu associated with this object.

Declaration
public double HeightEmu { get; set; }
Property Value
Type Description
double

HeightInches

Gets or sets the height inches associated with this object.

Declaration
public double HeightInches { get; set; }
Property Value
Type Description
double

HeightPixels

Gets or sets the height pixels associated with this object.

Declaration
public double HeightPixels { get; set; }
Property Value
Type Description
double

HeightPoints

Gets or sets the height points associated with this object.

Declaration
public double HeightPoints { get; set; }
Property Value
Type Description
double

Width

Gets or sets the width associated with this object.

Declaration
public DoubleUnit Width { get; set; }
Property Value
Type Description
DoubleUnit

WidthCm

Gets or sets the width cm associated with this object.

Declaration
public double WidthCm { get; set; }
Property Value
Type Description
double

WidthEmu

Gets or sets the width emu associated with this object.

Declaration
public double WidthEmu { get; set; }
Property Value
Type Description
double

WidthInches

Gets or sets the width inches associated with this object.

Declaration
public double WidthInches { get; set; }
Property Value
Type Description
double

WidthPixels

Gets or sets the width pixels associated with this object.

Declaration
public double WidthPixels { get; set; }
Property Value
Type Description
double

WidthPoints

Gets or sets the width points associated with this object.

Declaration
public double WidthPoints { get; set; }
Property Value
Type Description
double
Back to top

DR-IT Software documentation

DR-IT Software · Products · Documentation index · Product page · Downloads · Support · Licensing

Generated by DocFX