You are here: Start » AVL.NET » Invoke.ResizeImage_FixedAspectRatio

Invoke.ResizeImage_FixedAspectRatio

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:Avl
Assembly:AvlNet.dll

Syntax

C++
C#
 
public static void ResizeImage_FixedAspectRatio
(
	Avl.Image inImage,
	Optional<int> inNewLength,
	Avl.Dimension inDimension,
	Avl.ResizeMethod inResizeMethod,
	Avl.Image outImage
)

Parameters

Name Type Range Default Description
inImageAvl.ImageInput image.
inNewLengthAtl.Optional<int><1, 65535>The length in pixels that the chosen dimension will be set to. Default value: atl::NIL.
inDimensionAvl.DimensionThe dimension that will be set to the given length.
inResizeMethodAvl.ResizeMethod
outImageAvl.ImageOutput image.

See also