VintaSoft Imaging .NET SDK v8.7
Vintasoft.Imaging.Wpf.UI Namespace / WpfImageViewer Class / CatchVisualToolExceptions Property



In This Topic
    CatchVisualToolExceptions Property (WpfImageViewer)
    In This Topic
    Gets or sets a value indicating whether the visual tool catches the exception which is thrown during work of visual tool.
    Syntax
    'Declaration
     
    <DefaultValueAttribute()>
    <DescriptionAttribute("Indicates whether the visual tool catches the exception which is thrown during work of visual tool.")>
    Public Property CatchVisualToolExceptions As Boolean
    [DefaultValue()]
    [Description("Indicates whether the visual tool catches the exception which is thrown during work of visual tool.")]
    public bool CatchVisualToolExceptions {get; set;}
    [DefaultValue()]
    [Description("Indicates whether the visual tool catches the exception which is thrown during work of visual tool.")]
    public: __property bool get_CatchVisualToolExceptions();
    public: __property void set_CatchVisualToolExceptions( 
       bool value
    );
    [DefaultValue()]
    [Description("Indicates whether the visual tool catches the exception which is thrown during work of visual tool.")]
    public:
    property bool CatchVisualToolExceptions {
       bool get();
       void set (    bool value);
    }

    Property Value

    true - visual tool catches the exception and generates the VisualToolException event. false - visual tool catches the exception, generates the VisualToolException event, throws outwards the exception.
    Requirements

    Target Platforms: Windows 10, Windows 8, Windows 7, Windows Vista, Windows XP, Windows Server 2012, Windows Server 2008, Windows Server 2003

    See Also