|
ASPOSE home | ||||||||
java.lang.Object
com.aspose.words.ConvertUtil
public class ConvertUtil
| Method Summary | ||
|---|---|---|
static double | inchToPoint(double inches) | |
| Converts inches to points. | ||
static double | millimeterToPoint(double millimeters) | |
| Converts millimeters to points. | ||
static int | pixelToNewDpi(double pixels, double oldDpi, double newDpi) | |
| Converts pixels from one resolution to another. | ||
static double | pixelToPoint(double pixels) | |
| Convers pixels to points at 96 dpi. | ||
static double | pixelToPoint(double pixels, double resolution) | |
| Converts pixels to points at the specified pixel resolution. | ||
static double | pointToInch(double points) | |
| Converts points to inches. | ||
static double | pointToPixel(double points) | |
| Converts points to pixels at 96 dpi. | ||
static double | pointToPixel(double points, double resolution) | |
| Converts points to pixels at the specified pixel resolution. | ||
| Method Detail |
|---|
pointToPixel | |
public static double pointToPixel(double points) | |
points - The value to convert.pointToPixel | |
public static double pointToPixel(double points, double resolution) | |
points - The value to convert.resolution - The dpi (dots per inch) resolution.pixelToPoint | |
public static double pixelToPoint(double pixels) | |
pixels - The value to convert.pixelToPoint | |
public static double pixelToPoint(double pixels, double resolution) | |
pixels - The value to convert.resolution - The dpi (dots per inch) resolution.pixelToNewDpi | |
public static int pixelToNewDpi(double pixels, double oldDpi, double newDpi) | |
pixels - The value to convert.oldDpi - The current dpi (dots per inch) resolution.newDpi - The new dpi (dots per inch) resolution.inchToPoint | |
public static double inchToPoint(double inches) | |
inches - The value to convert.pointToInch | |
public static double pointToInch(double points) | |
points - The value to convert.millimeterToPoint | |
public static double millimeterToPoint(double millimeters) | |
millimeters - The value to convert.
|
ASPOSE home | ||||||||