Accusoft.ImagXpressSdk Namespace > ImageXView Class : RefreshMode Property |
'Declaration <DescriptionAttribute("Property that determines whether the control is refreshed immediately or when the system is ready to paint.")> <DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)> <BrowsableAttribute(False)> <DefaultValueAttribute()> Public Property RefreshMode As RefreshMode
'Usage Dim instance As ImageXView Dim value As RefreshMode instance.RefreshMode = value value = instance.RefreshMode
[DescriptionAttribute("Property that determines whether the control is refreshed immediately or when the system is ready to paint.")] [DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)] [BrowsableAttribute(false)] [DefaultValueAttribute()] public RefreshMode RefreshMode {get; set;}
[DescriptionAttribute("Property that determines whether the control is refreshed immediately or when the system is ready to paint.")] [DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)] [BrowsableAttribute(false)] [DefaultValueAttribute()] public: __property RefreshMode get_RefreshMode(); public: __property void set_RefreshMode( RefreshMode value );
[DescriptionAttribute("Property that determines whether the control is refreshed immediately or when the system is ready to paint.")] [DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)] [BrowsableAttribute(false)] [DefaultValueAttribute()] 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.