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 | |
---|---|---|---|---|---|
inImage | AvlNet.Image | Input image. | |||
inDimension | AvlNet.Dimension | The dimension that will be set to the given length. | |||
inResizeMethod | AvlNet.ResizeMethod | ||||
outImage | AvlNet.Image | Output image. |