VintaSoft Imaging .NET SDK 12.4: Documentation for .NET developer
Vintasoft.Imaging.Wpf.UI Namespace / WpfImageViewer Class / CatchVisualToolExceptions Property
Syntax Requirements SeeAlso
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
    
    <DescriptionAttribute("A value indicating whether the visual tool catches the exception which is thrown during work of visual tool.")>
    <DefaultValueAttribute(False)>
    Public Property CatchVisualToolExceptions As Boolean
    
    
    [Description("A value indicating whether the visual tool catches the exception which is thrown during work of visual tool.")]
    [DefaultValue(False)]
    public bool CatchVisualToolExceptions { get; set; }
    
    
    [Description("A value indicating whether the visual tool catches the exception which is thrown during work of visual tool.")]
    [DefaultValue(False)]
    public: __property bool get_CatchVisualToolExceptions();
    public: __property void set_CatchVisualToolExceptions(
    bool value
    );
    [Description("A value indicating whether the visual tool catches the exception which is thrown during work of visual tool.")]
    [DefaultValue(False)]
    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: .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

    See Also