Method ConvertSize
ConvertSize(GraphicsUnit, GraphicsUnit, SizeD, SizeD, GraphicsType)
Converts SizeD value to other GraphicsUnit.
public static SizeD ConvertSize(GraphicsUnit from, GraphicsUnit to, SizeD dpi, SizeD value, GraphicsUnitConverter.GraphicsType type = GraphicsType.Undefined)
Parameters
from
GraphicsUnitGraphicsUnit of the value which is converted.
to
GraphicsUnitGraphicsUnit of the result.
dpi
SizeDNumber of dots per inch.
value
SizeDValue to convert.
type
GraphicsUnitConverter.GraphicsTypeType of the graphics.