This class can be used to convert values from one spatial units to another.
Namespace:
Aurigma.GraphicsMill
Assembly:
Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
Public Class UnitConverter
public class UnitConverter
This class provides three static methods which enables you to convert:
All these method require a parameter called resolution - a number of pixels in one inch (dots per pixel - DPI). Typically this parameter depends on the resolution you are going to get when printing the image (e.g. 300 or 600 DPI). Also, it can be a screen resolution (as usual, 96 DPI).