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
from
GraphicsUnitGraphicsUnit of the value which is converted.
to
GraphicsUnitGraphicsUnit of the result.
dpi
SizeDNumber of dots per inch.
value
RectDValue to convert.
type
GraphicsUnitConverter.GraphicsTypeType of the graphics.