GetSizeInPixels
Contents
[
Hide
]GetSizeInPixels(float, float)
Calculates the page size in pixels for a specified zoom factor and resolution.
public Size GetSizeInPixels(float scale, float dpi)
| Parameter | Type | Description |
|---|---|---|
| scale | Single | The zoom factor (1.0 is 100%). |
| dpi | Single | The resolution (horizontal and vertical) to convert from points to pixels (dots per inch). |
Return Value
The size of the page in pixels.
See Also
- class PageInfo
- namespace Aspose.Words.Rendering
- assembly Aspose.Words
GetSizeInPixels(float, float, float)
Calculates the page size in pixels for a specified zoom factor and resolution.
public Size GetSizeInPixels(float scale, float horizontalDpi, float verticalDpi)
| Parameter | Type | Description |
|---|---|---|
| scale | Single | The zoom factor (1.0 is 100%). |
| horizontalDpi | Single | The horizontal resolution to convert from points to pixels (dots per inch). |
| verticalDpi | Single | The vertical resolution to convert from points to pixels (dots per inch). |
Return Value
The size of the page in pixels.
See Also
- class PageInfo
- namespace Aspose.Words.Rendering
- assembly Aspose.Words