You are here: Start » AVL.NET » AVS.ResizeImage_FixedAspectRatio Method

AVS.ResizeImage_FixedAspectRatio Method

Changes one dimension of the image to a desired length while the other dimension is set to a length such that the aspect ration of the image is maintained.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

public static void ResizeImage_FixedAspectRatio
(
	AvlNet.Image inImage,
	AvlNet.Dimension inDimension,
	AvlNet.ResizeMethod inResizeMethod,
	AvlNet.Image outImage
)

Parameters

Name Type Range Default Description
inImageAvlNet.ImageInput image.
inDimensionAvlNet.DimensionThe dimension that will be set to the given length.
inResizeMethodAvlNet.ResizeMethod
outImageAvlNet.ImageOutput image.

Function Overrides

See also