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, int? inNewLength, AvlNet.Dimension inDimension, AvlNet.ResizeMethod inResizeMethod, AvlNet.Image outImage )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inImage | AvlNet.Image | Input image. | |||
inNewLength | int? | <1, 65535> | The length in pixels that the chosen dimension will be set to. Default value: atl::NIL. | ||
inDimension | AvlNet.Dimension | The dimension that will be set to the given length. | |||
inResizeMethod | AvlNet.ResizeMethod | ||||
outImage | AvlNet.Image | Output image. |