pixelToPoint method
pixelToPoint(pixels)
Converts pixels to points at 96 dpi.
pixelToPoint(pixels: number)
| Parameter | Type | Description |
|---|---|---|
| pixels | number | The value to convert. |
Remarks
1 inch equals 72 points.
pixelToPoint(pixels, resolution)
Converts pixels to points at the specified pixel resolution.
pixelToPoint(pixels: number, resolution: number)
| Parameter | Type | Description |
|---|---|---|
| pixels | number | The value to convert. |
| resolution | number | The dpi (dots per inch) resolution. |
Remarks
1 inch equals 72 points.
See Also
- module Aspose.Words
- class ConvertUtil