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
fromGraphicsUnitGraphicsUnit of the value which is converted.
toGraphicsUnitGraphicsUnit of the result.
dpiSizeDNumber of dots per inch.
valueSizeDValue to convert.
typeGraphicsUnitConverter.GraphicsTypeType of the graphics.