Aspose::Words::Rendering::PageInfo::GetSizeInPixels method

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)
ParameterTypeDescription
scalefloatThe zoom factor (1.0 is 100%).
dpifloatThe resolution (horizontal and vertical) to convert from points to pixels (dots per inch).

ReturnValue

The size of the page in pixels.

See Also

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)
ParameterTypeDescription
scalefloatThe zoom factor (1.0 is 100%).
horizontalDpifloatThe horizontal resolution to convert from points to pixels (dots per inch).
verticalDpifloatThe vertical resolution to convert from points to pixels (dots per inch).

ReturnValue

The size of the page in pixels.

See Also