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