SvgImage.Resize
SvgImage.Resize method
Resize the image to fit the specified dimensions while preserving its aspect ratio. This method provides a convenient way to adjust the size of the image without distorting its proportions, ensuring optimal display or storage according to the desired dimensions.
public override void Resize(int newWidth, int newHeight, ResizeType resizeType)
Parameter | Type | Description |
---|---|---|
newWidth | Int32 | The new width. |
newHeight | Int32 | The new height. |
resizeType | ResizeType | The resize type. |
See Also
- enum ResizeType
- class SvgImage
- namespace Aspose.Imaging.FileFormats.Svg
- assembly Aspose.Imaging