ImageSize
ImageSize(int, int)
Initializes width and height to the given values in pixels. Initializes resolution to 96 dpi.
public ImageSize(int widthPixels, int heightPixels)
Parameter | Type | Description |
---|---|---|
widthPixels | Int32 | Width in pixels. |
heightPixels | Int32 | Height in pixels. |
See Also
- class ImageSize
- namespace Aspose.Words.Drawing
- assembly Aspose.Words
ImageSize(int, int, double, double)
Initializes width, height and resolution to the given values.
public ImageSize(int widthPixels, int heightPixels, double horizontalResolution,
double verticalResolution)
Parameter | Type | Description |
---|---|---|
widthPixels | Int32 | Width in pixels. |
heightPixels | Int32 | Height in pixels. |
horizontalResolution | Double | Horizontal resolution in DPI. |
verticalResolution | Double | Vertical resolution in DPI. |
See Also
- class ImageSize
- namespace Aspose.Words.Drawing
- assembly Aspose.Words