Method ConvertRect
ConvertRect(GraphicsUnit, GraphicsUnit, SizeD, RectD, GraphicsType)
Converts RectD value to other GraphicsUnit.
public static RectD ConvertRect(GraphicsUnit from, GraphicsUnit to, SizeD dpi, RectD value, GraphicsUnitConverter.GraphicsType type = GraphicsType.Undefined)
Parameters
fromGraphicsUnitGraphicsUnit of the value which is converted.
toGraphicsUnitGraphicsUnit of the result.
dpiSizeDNumber of dots per inch.
valueRectDValue to convert.
typeGraphicsUnitConverter.GraphicsTypeType of the graphics.