Accusoft.ImagXpressSdk Namespace > ImageXView Class : RefreshMode Property |
'Declaration <DefaultValueAttribute()> <DescriptionAttribute("Property that determines whether the control is refreshed immediately or when the system is ready to paint.")> <BrowsableAttribute(False)> <DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)> Public Property RefreshMode As RefreshMode
'Usage Dim instance As ImageXView Dim value As RefreshMode instance.RefreshMode = value value = instance.RefreshMode
[DefaultValue()] [Description("Property that determines whether the control is refreshed immediately or when the system is ready to paint.")] [Browsable(false)] [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)] public RefreshMode RefreshMode {get; set;}
[DefaultValue()] [Description("Property that determines whether the control is refreshed immediately or when the system is ready to paint.")] [Browsable(false)] [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)] public: __property RefreshMode get_RefreshMode(); public: __property void set_RefreshMode( RefreshMode value );
[DefaultValue()] [Description("Property that determines whether the control is refreshed immediately or when the system is ready to paint.")] [Browsable(false)] [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)] public: property RefreshMode RefreshMode { RefreshMode get(); void set ( RefreshMode value); }
The default value is RefreshMode.Immediate (1).
Note: In RefreshMode.Standard, the ImageXView control is just invalidated and will update the next time a paint message is received. In RefreshMode.Immediate the control is updated immediately after an operation has completed on the attached Image.
Typically, you will want to use RefreshMode.Standard as this results in the least amount of screen updates and is the fastest, especially if multiple operations are performed back to back. Use RefreshMode.Immediate if you require the ImageXView to be updated after each and every operation.