DeviceInfo Class |
Namespace: DigitalRubyShared
public static class DeviceInfo
The DeviceInfo type exposes the following members.
Name | Description | |
---|---|---|
PixelsPerInch |
Pixels per inch
| |
UnitMultiplier |
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)
|
Name | Description | |
---|---|---|
CentimetersToInches |
Convert centimeters to inches
| |
InchesToCentimeters |
Convert inches to centimeters
| |
PixelsToUnits |
Convert pixels to units
| |
UnitsToPixels |
Convert units to pixels
|