Initializes width, height and resolution to the given values.
[Visual Basic]Overloads Public Sub New( _
ByVal
widthPixels As
Integer, _
ByVal
heightPixels As
Integer, _
ByVal
horizontalResolution As
Double, _
ByVal
verticalResolution As
Double _
)
[C#]public ImageSize(
int widthPixels,
int heightPixels,
double horizontalResolution,
double verticalResolution);
Parameters
- widthPixels
- Width in pixels.
- heightPixels
- Height in pixels.
- horizontalResolution
- Horizontal resolution in DPI.
- verticalResolution
- Vertical resolution in DPI.
See Also
ImageSize Class | Aspose.Words.Drawing Namespace | ImageSize Constructor Overload List