Returns or sets whether a displayed image is refreshed immediately after changes are made to properties that can affect its visual appearance.
Image Edit control
object.AutoRefresh[={True|False}]
Boolean
Setting | Description |
True | Refreshes the image immediately when changes are made to display-related properties |
False (default) | The image is not refreshed immediately |
Set this property to True when you want the image to be refreshed every time a property is changed that affects its visual display.
Set this property to False when you do not want the image to be refreshed every time a property is changed that affects its visual display. The image can be refreshed at any time by invoking the Refresh method, which updates the image using the current settings.
When the AutoRefresh property is set to True, changing the following properties causes the displayed image to be refreshed automatically:
DisplayScaleAlgorithm property |
ImagePalette property |
ImageResolutionX property |
ImageResolutionY property |
ScrollBars property |
ScrollPositionX property |
ScrollPositionY property |
Zoom property |
Refresh method