PageInfoGetSizeInPixels(Single, Single) Method

Calculates the page size in pixels for a specified zoom factor and resolution.

Namespace:  Aspose.Words.Rendering
Assembly:  Aspose.Words (in Aspose.Words.dll) Version: 21.11.0

ExpandedSyntax

public Size GetSizeInPixels(
	float scale,
	float dpi
)

Parameters

scale
Type: SystemSingle
The zoom factor (1.0 is 100%).
dpi
Type: SystemSingle
The resolution (horizontal and vertical) to convert from points to pixels (dots per inch).

Return Value

Type: Size
The size of the page in pixels.

ExpandedSee Also