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

Class UnitConversionOptions

Specifies options used when converting between document measurement units.

Inheritance
object
UnitConversionOptions
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
Namespace: DRIT.Document.Office
Assembly: DRIT.Document.dll
Syntax
public sealed class UnitConversionOptions

Constructors

UnitConversionOptions()

Initializes options using DefaultDpi.

Declaration
public UnitConversionOptions()

UnitConversionOptions(int)

Initializes options with the specified positive display resolution.

Declaration
public UnitConversionOptions(int dpi)
Parameters
Type Name Description
int dpi

The dots-per-inch value used for pixel conversions.

Exceptions
Type Condition
ArgumentOutOfRangeException

dpi is zero or negative.

Properties

Dpi

Gets the dots-per-inch value used for pixel conversions.

Declaration
public int Dpi { get; }
Property Value
Type Description
int
Back to top

DR-IT Software documentation

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

Generated by DocFX