private float ConvertUnits(float value, PdfGraphicsUnit fromType, PdfGraphicsUnit toType) { if (fromType == PdfGraphicsUnit.Centimeter && toType == PdfGraphicsUnit.Point) { return(value * 28.34646f); } throw new ArithmeticException(); }
private float ConvertUnits(float value, PdfGraphicsUnit fromType, PdfGraphicsUnit toType) { if (fromType == PdfGraphicsUnit.Centimeter && toType == PdfGraphicsUnit.Point) { return value * 28.34646f; } throw new ArithmeticException(); }