Image.ResizeWidthProportionally

ResizeWidthProportionally(int)

Resizes the width proportionally. The default NearestNeighbourResample is used.

public void ResizeWidthProportionally(int newWidth)
ParameterTypeDescription
newWidthInt32The new width.

See Also


ResizeWidthProportionally(int, ResizeType)

Resizes the width proportionally.

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

See Also


ResizeWidthProportionally(int, ImageResizeSettings)

Resizes the width proportionally.

public virtual void ResizeWidthProportionally(int newWidth, ImageResizeSettings settings)
ParameterTypeDescription
newWidthInt32The new width.
settingsImageResizeSettingsThe image resize settings.

See Also