VintaSoft Imaging .NET SDK v8.7
Vintasoft.Imaging.Wpf.UI.VisualTools Namespace / WpfCustomSelectionTool Class / SetSelection Method
The image.
The selection of image.



In This Topic
    SetSelection Method (WpfCustomSelectionTool)
    In This Topic
    Updates the selection of specified image.
    Syntax
    'Declaration
     
    Public Sub SetSelection( _
       ByVal image As VintasoftImage, _
       ByVal newSelection As WpfSelectionRegionBase _
    ) 
    public void SetSelection( 
       VintasoftImage image,
       WpfSelectionRegionBase newSelection
    )
    public: void SetSelection( 
       VintasoftImage* image,
       WpfSelectionRegionBase* newSelection
    ) 
    public:
    void SetSelection( 
       VintasoftImage^ image,
       WpfSelectionRegionBase^ newSelection
    ) 

    Parameters

    image
    The image.
    newSelection
    The selection of image.
    Exceptions
    ExceptionDescription
    Thrown if image is not specified.
    Requirements

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

    See Also