ImageSize Constructor (Int32, Int32) |
Initializes width and height to the given values in pixels. Initializes resolution to 96 dpi.
Namespace:
Aspose.Words.Drawing
Assembly:
Aspose.Words (in Aspose.Words.dll) Version: 20.3
Syntaxpublic ImageSize(
int widthPixels,
int heightPixels
)
Public Sub New (
widthPixels As Integer,
heightPixels As Integer
)
public:
ImageSize(
int widthPixels,
int heightPixels
)
new :
widthPixels : int *
heightPixels : int -> ImageSize
Parameters
- widthPixels
- Type: SystemInt32
Width in pixels. - heightPixels
- Type: SystemInt32
Height in pixels.
See Also