You are here: Start » AVL.NET » 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 | |
|---|---|---|---|---|---|
![]()  | inImage | Avl.Image | Input image. | ||
![]()  | inNewLength | Atl.Optional<int> | <1, 65535> | The length in pixels that the chosen dimension will be set to. Default value: atl::NIL. | |
![]()  | inDimension | Avl.Dimension | The dimension that will be set to the given length. | ||
![]()  | inResizeMethod | Avl.ResizeMethod | |||
![]()  | outImage | Avl.Image | Output image. | 


