Accusoft.ImagXpress13.Net
AutoImageDispose Property




Gets and sets enabling the ImageXView's Dispose method to automatically call the ImageX's Dispose method.
Syntax
'Declaration
 
<DescriptionAttribute("Enables or disables Dispose calling the current Image's Dispose method")>
<DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)>
<BrowsableAttribute(False)>
<DefaultValueAttribute()>
Public Property AutoImageDispose As Boolean
'Usage
 
Dim instance As ImageXView
Dim value As Boolean
 
instance.AutoImageDispose = value
 
value = instance.AutoImageDispose
[DescriptionAttribute("Enables or disables Dispose calling the current Image's Dispose method")]
[DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)]
[BrowsableAttribute(false)]
[DefaultValueAttribute()]
public bool AutoImageDispose {get; set;}
[DescriptionAttribute("Enables or disables Dispose calling the current Image's Dispose method")]
[DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)]
[BrowsableAttribute(false)]
[DefaultValueAttribute()]
public: __property bool get_AutoImageDispose();
public: __property void set_AutoImageDispose( 
   bool value
);
[DescriptionAttribute("Enables or disables Dispose calling the current Image's Dispose method")]
[DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)]
[BrowsableAttribute(false)]
[DefaultValueAttribute()]
public:
property bool AutoImageDispose {
   bool get();
   void set (    bool value);
}

Property Value

A boolean value which is true to turn on auto image dispose. Otherwise, false is used.
Remarks

The default value is false.

Because the default value is false, it is the programmer's responsiblity to call the Dispose(Boolean) method for the ImageX object after the ImageXView's Dispose method is called. Set this property to true if you would like ImageX's object connected to the ImageXView to be disposed of automatically when the ImageXView is disposed.

This is useful if you tend to tie one and only one image to a view.

See Also

Reference

ImageXView Class
ImageXView Members

 

 


©2014. Accusoft Corporation. All Rights Reserved.

Send Feedback