PageInfoGetSizeInPixels(Single, Single) Method |
Calculates the page size in pixels for a specified zoom factor and resolution.
Syntax
public Size GetSizeInPixels(
float scale,
float dpi
)
Public Function GetSizeInPixels (
scale As Single,
dpi As Single
) As Size
public:
Size GetSizeInPixels(
float scale,
float dpi
)
member GetSizeInPixels :
scale : float32 *
dpi : float32 -> Size
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:
SizeThe size of the page in pixels.
See Also