ResizeWidthProportionally

ApngImage.ResizeWidthProportionally method

Proportionally resize the width of the image effortlessly with this intuitive method. Ideal for developers seeking to maintain the aspect ratio of their images while adjusting their dimensions.

public override void ResizeWidthProportionally(int newWidth, ResizeType resizeType)
ParameterTypeDescription
newWidthInt32The new width.
resizeTypeResizeTypeType of the resize.

See Also