| AccusoftImagXpress13 ActiveX DLL > ImagXpress Object : AutoSizeChanged Event |
| Visual Basic |
|---|
Public Event AutoSizeChanged( _ ByVal newValue As enumAutoSize, _ ByVal oldValue As enumAutoSize _ ) |
| Value | Description |
|---|---|
| ISIZE_BestFit | The image is resized to fit the control and the aspect ratio is preserved. |
| ISIZE_CropImage | The image is cropped to the control size. Note: if the control size is larger than the image, the control will not be resized to the image. |
| ISIZE_CropImageToControl | The image is cropped to the control size. Note: if the control size is larger than the image, the control will be resized to the image. |
| ISIZE_FitHeight | Resize image to fit image height within viewer control. |
| ISIZE_FitWidth | Resize image to fit image width within viewer control. |
| ISIZE_ResizeControl | The control is resized to fit the image. |
| ISIZE_ResizeImage | The image is resized to fit the control. |
| ISIZE_TileImage | The image is tiled to fit the control. |
| Value | Description |
|---|---|
| ISIZE_BestFit | The image is resized to fit the control and the aspect ratio is preserved. |
| ISIZE_CropImage | The image is cropped to the control size. Note: if the control size is larger than the image, the control will not be resized to the image. |
| ISIZE_CropImageToControl | The image is cropped to the control size. Note: if the control size is larger than the image, the control will be resized to the image. |
| ISIZE_FitHeight | Resize image to fit image height within viewer control. |
| ISIZE_FitWidth | Resize image to fit image width within viewer control. |
| ISIZE_ResizeControl | The control is resized to fit the image. |
| ISIZE_ResizeImage | The image is resized to fit the control. |
| ISIZE_TileImage | The image is tiled to fit the control. |