ImageSize Constructor (Int32, Int32, Double, Double)

Initializes width, height and resolution to the given values.

Namespace:  Aspose.Words.Drawing
Assembly:  Aspose.Words (in Aspose.Words.dll) Version: 20.3
Syntax
public ImageSize(
	int widthPixels,
	int heightPixels,
	double horizontalResolution,
	double verticalResolution
)

Parameters

widthPixels
Type: SystemInt32
Width in pixels.
heightPixels
Type: SystemInt32
Height in pixels.
horizontalResolution
Type: SystemDouble
Horizontal resolution in DPI.
verticalResolution
Type: SystemDouble
Vertical resolution in DPI.
See Also