VintaSoft Imaging .NET SDK 14.0: Documentation for .NET developer
Vintasoft.Imaging.UI.VisualTools Namespace / VisualTool Class / Invoke Methods / Invoke(Delegate) Method
Syntax Requirements SeeAlso
In This Topic
    Invoke(Delegate) Method (VisualTool)
    In This Topic
    Executes the specified delegate on the thread that owns the VisualTool's underlying ImageViewer.
    Syntax
    'Declaration
    
    Protected Overloads Function Invoke( _
    ByVal method
    A delegate that contains a method to be called in the VisualTool's thread context.
    As System.Delegate _
    ) As System.Object
    protected System.Object Invoke(
    System.Delegate method
    )
    protected: System.Object Invoke(
    System.Delegate* method
    )
    protected:
    System.Object Invoke(
    System.Delegate^ method
    )

    Parameters

    method
    A delegate that contains a method to be called in the VisualTool's thread context.

    Return Value

    The return value from the delegate being invoked, or null if the delegate has no return value.
    Requirements

    Target Platforms: .NET9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

    See Also