Aspose::Words::Drawing::ImageSize::ImageSize constructor

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)
ParameterTypeDescription
widthPixelsint32_tWidth in pixels.
heightPixelsint32_tHeight in pixels.

See Also

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)
ParameterTypeDescription
widthPixelsint32_tWidth in pixels.
heightPixelsint32_tHeight in pixels.
horizontalResolutiondoubleHorizontal resolution in DPI.
verticalResolutiondoubleVertical resolution in DPI.

See Also