Aspose::Words::Drawing::ImageSize::ImageSize constructor
Contents
[
Hide
]ImageSize::ImageSize(int32_t, int32_t) constructor
Initializes width and height to the given values in pixels. Initializes resolution to 96 dpi.
Aspose::Words::Drawing::ImageSize::ImageSize(int32_t widthPixels, int32_t heightPixels)
Parameter | Type | Description |
---|---|---|
widthPixels | int32_t | Width in pixels. |
heightPixels | int32_t | Height in pixels. |
See Also
- Class ImageSize
- Namespace Aspose::Words::Drawing
- Library Aspose.Words for C++
ImageSize::ImageSize(int32_t, int32_t, double, double) constructor
Initializes width, height and resolution to the given values.
Aspose::Words::Drawing::ImageSize::ImageSize(int32_t widthPixels, int32_t heightPixels, double horizontalResolution, double verticalResolution)
Parameter | Type | Description |
---|---|---|
widthPixels | int32_t | Width in pixels. |
heightPixels | int32_t | Height in pixels. |
horizontalResolution | double | Horizontal resolution in DPI. |
verticalResolution | double | Vertical resolution in DPI. |
See Also
- Class ImageSize
- Namespace Aspose::Words::Drawing
- Library Aspose.Words for C++