Click or drag to resize

DeviceInfo Class

Contains device information
Inheritance Hierarchy
SystemObject
  DigitalRubySharedDeviceInfo

Namespace:  DigitalRubyShared
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
C#
public static class DeviceInfo

The DeviceInfo type exposes the following members.

Properties
  NameDescription
Public propertyStatic memberPixelsPerInch
Pixels per inch
Public propertyStatic memberUnitMultiplier
Gets or sets the unit multiplier. For example, if you are specifying units in inches, you would want to set this to PixelsPerInch. If you want to use cm, you can set this to InchesToCentimeters(PixelsPerInch)
Top
Methods
  NameDescription
Public methodStatic memberCentimetersToInches
Convert centimeters to inches
Public methodStatic memberInchesToCentimeters
Convert inches to centimeters
Public methodStatic memberPixelsToUnits
Convert pixels to units
Public methodStatic memberUnitsToPixels
Convert units to pixels
Top
See Also