Raised when the AutoSize property has changed.
Visual Basic |
---|
Public Event AutoSizeChanged( _ ByVal newValue As enumAutoSize, _ ByVal oldValue As enumAutoSize _ ) |
- newValue
An enumAutoSize value which indicates the new value for the AutoSize property.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. - oldValue
An enumAutoSize value which indicates the old value for the AutoSize property.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.