Aspose::Words::Rendering::PageInfo::GetSizeInPixels method
Contents
[
Hide
]PageInfo::GetSizeInPixels(float, float) method
Calculates the page size in pixels for a specified zoom factor and resolution.
System::Drawing::Size Aspose::Words::Rendering::PageInfo::GetSizeInPixels(float scale, float dpi)
Parameter | Type | Description |
---|---|---|
scale | float | The zoom factor (1.0 is 100%). |
dpi | float | The resolution (horizontal and vertical) to convert from points to pixels (dots per inch). |
ReturnValue
The size of the page in pixels.
See Also
- Class PageInfo
- Namespace Aspose::Words::Rendering
- Library Aspose.Words for C++
PageInfo::GetSizeInPixels(float, float, float) method
Calculates the page size in pixels for a specified zoom factor and resolution.
System::Drawing::Size Aspose::Words::Rendering::PageInfo::GetSizeInPixels(float scale, float horizontalDpi, float verticalDpi)
Parameter | Type | Description |
---|---|---|
scale | float | The zoom factor (1.0 is 100%). |
horizontalDpi | float | The horizontal resolution to convert from points to pixels (dots per inch). |
verticalDpi | float | The vertical resolution to convert from points to pixels (dots per inch). |
ReturnValue
The size of the page in pixels.
See Also
- Class PageInfo
- Namespace Aspose::Words::Rendering
- Library Aspose.Words for C++