This project is read-only.

Is it possible to set the Unit globally?

Sep 12, 2014 at 9:56 PM

Is it possible to set the unit globally to a specific type? I calculate with mm values, so I always have to set the unit value like this:
CenterX = new SvgUnit(SvgUnitType.Millimeter, 10),
But this is somehow cumbersome. Is it possible to tell the engine that all unit values are treated e.g. as "mm", so that

CenterX = 10; is the same as new SvgUnit(SvgUnitType.Millimeter, 10),

I'm new to the SVG Rendering Engine and I appreciate any adwise!