VintaSoft Imaging .NET SDK v8.6
Vintasoft.Imaging.Wpf.UI.VisualTools Namespace / WpfRectangularSelectionToolWithCopyPaste Class
Members



In This Topic
    WpfRectangularSelectionToolWithCopyPaste Class
    In This Topic
    Visual tool for selection of rectangular region of image in image viewer. Selected region of image can be copied into clipboard. Selected region of image can be replaced by image from clipboard.
    Object Model
    WpfRectangularSelectionToolWithCopyPaste ClassIWpfInteractionController InterfaceWpfImageViewer ClassIWpfInteractionController InterfaceWpfRectangularObjectTransformer Class
    Syntax
    Remarks
    WpfRectangularSelectionToolWithCopyPaste allows to:
    • Select a rectangular region of image
    • Copy selected region of image to clipboard or get selected region as a Bitmap object
    • Paste image from clipboard into selected region of image


    Rectangular region of image in image viewer can be selected as follows:
    place the mouse on desired position
    press and hold the action button (WpfVisualTool.ActionButton) to start the selection of region
    pull the action button (WpfVisualTool.ActionButton) to select the region
    release the action button (WpfVisualTool.ActionButton) to stop the selection of region

    Selected region of image can be copied to clipboard by pressing Ctrl+C button.
    Selected region of image can be replaced by image from clipboard by pressing Ctrl+V button.


    Rectangular region of image in image viewer can be programmatically selected with Rectangle property.
    Selected region of image can be programmatically copied to clipboard using CopyToClipboard.
    Selected region of image can be programmatically replaced by image from clipboard using PasteFromClipboard.


    Rectangular region of image in image viewer can be programmatically selected with Rectangle property.
    Inheritance Hierarchy

    System.Object
       System.Windows.Threading.DispatcherObject
          System.Windows.DependencyObject
             System.Windows.Media.Visual
                System.Windows.UIElement
                   System.Windows.FrameworkElement
                      System.Windows.Controls.Control
                         System.Windows.Controls.ContentControl
                            Vintasoft.Imaging.Wpf.UI.VisualTools.WpfVisualTool
                               Vintasoft.Imaging.Wpf.UI.VisualTools.UserInteraction.WpfUserInteractionVisualTool
                                  Vintasoft.Imaging.Wpf.UI.VisualTools.WpfRectangularSelectionTool
                                     Vintasoft.Imaging.Wpf.UI.VisualTools.WpfRectangularSelectionToolWithCopyPaste

    Requirements

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

    See Also