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
Syntaxpublic ImageSize(
int widthPixels,
int heightPixels,
double horizontalResolution,
double verticalResolution
)
Public Sub New (
widthPixels As Integer,
heightPixels As Integer,
horizontalResolution As Double,
verticalResolution As Double
)
public:
ImageSize(
int widthPixels,
int heightPixels,
double horizontalResolution,
double verticalResolution
)
new :
widthPixels : int *
heightPixels : int *
horizontalResolution : float *
verticalResolution : float -> ImageSize
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