getSizeInPixels2 method
Contents
[
Hide
]getSizeInPixels2(scale, dpi)
Calculates the page size in pixels for a specified zoom factor and resolution.
getSizeInPixels2(scale: number, dpi: number)
Parameter | Type | Description |
---|---|---|
scale | number | The zoom factor (1.0 is 100%). |
dpi | number | The resolution (horizontal and vertical) to convert from points to pixels (dots per inch). |
Returns
The size of the page in pixels.
getSizeInPixels2(scale, horizontalDpi, verticalDpi)
Calculates the page size in pixels for a specified zoom factor and resolution.
getSizeInPixels2(scale: number, horizontalDpi: number, verticalDpi: number)
Parameter | Type | Description |
---|---|---|
scale | number | The zoom factor (1.0 is 100%). |
horizontalDpi | number | The horizontal resolution to convert from points to pixels (dots per inch). |
verticalDpi | number | The vertical resolution to convert from points to pixels (dots per inch). |
Returns
The size of the page in pixels.
See Also
- module Aspose.Words.Rendering
- class PageInfo