WebPImageResizeWidthProportionally Method (Int32, ResizeType) |
Resizes the width proportionally.
Namespace: Aspose.Imaging.FileFormats.WebpAssembly: Aspose.Imaging (in Aspose.Imaging.dll) Version: 21.04
Syntaxpublic override void ResizeWidthProportionally(
int newWidth,
ResizeType resizeType
)
Public Overrides Sub ResizeWidthProportionally (
newWidth As Integer,
resizeType As ResizeType
)
public:
virtual void ResizeWidthProportionally(
int newWidth,
ResizeType resizeType
) override
abstract ResizeWidthProportionally :
newWidth : int *
resizeType : ResizeType -> unit
override ResizeWidthProportionally :
newWidth : int *
resizeType : ResizeType -> unit
Parameters
- newWidth
- Type: SystemInt32
The new width. - resizeType
- Type: Aspose.ImagingResizeType
Type of the resize.
See Also