VintaSoft Imaging .NET SDK v8.8 for .NET Framework
Vintasoft.Imaging.Pdf.Wpf.UI Namespace / WpfPdfCropSelectionTool Class
Members



In This Topic
    WpfPdfCropSelectionTool Class
    In This Topic
    A visual tool for cropping of PDF page or image in image viewer.
    Object Model
    WpfPdfCropSelectionTool ClassIWpfInteractionController InterfaceWpfImageViewer ClassIWpfInteractionController InterfaceWpfRectangularObjectTransformer Class
    Syntax
    'Declaration
     
    <DefaultPropertyAttribute("Content")>
    <ContentPropertyAttribute("Content")>
    <LocalizabilityAttribute(LocalizationCategory.None, Readability=Readability.Unreadable)>
    <StyleTypedPropertyAttribute(Property="FocusVisualStyle", StyleTargetType=System.Windows.Controls.Control)>
    <XmlLangPropertyAttribute("Language")>
    <UsableDuringInitializationAttribute(True)>
    <RuntimeNamePropertyAttribute("Name")>
    <UidPropertyAttribute("Uid")>
    <TypeDescriptionProviderAttribute(MS.Internal.ComponentModel.DependencyObjectProvider)>
    <NameScopePropertyAttribute("NameScope", System.Windows.NameScope)>
    Public Class WpfPdfCropSelectionTool 
       Inherits Vintasoft.Imaging.Wpf.UI.VisualTools.WpfCropSelectionTool
       Implements Vintasoft.Imaging.Wpf.UI.VisualTools.UserInteraction.IWpfInteractiveObjectVintasoft.Imaging.Wpf.UI.VisualTools.UserInteraction.IWpfRectangularInteractiveObject 
    [DefaultProperty("Content")]
    [ContentProperty("Content")]
    [Localizability(LocalizationCategory.None, Readability=Readability.Unreadable)]
    [StyleTypedProperty(Property="FocusVisualStyle", StyleTargetType=System.Windows.Controls.Control)]
    [XmlLangProperty("Language")]
    [UsableDuringInitialization(true)]
    [RuntimeNameProperty("Name")]
    [UidProperty("Uid")]
    [TypeDescriptionProvider(MS.Internal.ComponentModel.DependencyObjectProvider)]
    [NameScopeProperty("NameScope", System.Windows.NameScope)]
    public class WpfPdfCropSelectionTool : Vintasoft.Imaging.Wpf.UI.VisualTools.WpfCropSelectionTool, Vintasoft.Imaging.Wpf.UI.VisualTools.UserInteraction.IWpfInteractiveObjectVintasoft.Imaging.Wpf.UI.VisualTools.UserInteraction.IWpfRectangularInteractiveObject  
    [DefaultProperty("Content")]
    [ContentProperty("Content")]
    [Localizability(LocalizationCategory.None, Readability=Readability.Unreadable)]
    [StyleTypedProperty(Property="FocusVisualStyle", StyleTargetType=System.Windows.Controls.Control)]
    [XmlLangProperty("Language")]
    [UsableDuringInitialization(true)]
    [RuntimeNameProperty("Name")]
    [UidProperty("Uid")]
    [TypeDescriptionProvider(MS.Internal.ComponentModel.DependencyObjectProvider)]
    [NameScopeProperty("NameScope", System.Windows.NameScope)]
    public __gc class WpfPdfCropSelectionTool : public Vintasoft.Imaging.Wpf.UI.VisualTools.WpfCropSelectionTool, Vintasoft.Imaging.Wpf.UI.VisualTools.UserInteraction.IWpfInteractiveObjectVintasoft.Imaging.Wpf.UI.VisualTools.UserInteraction.IWpfRectangularInteractiveObject  
    [DefaultProperty("Content")]
    [ContentProperty("Content")]
    [Localizability(LocalizationCategory.None, Readability=Readability.Unreadable)]
    [StyleTypedProperty(Property="FocusVisualStyle", StyleTargetType=System.Windows.Controls.Control)]
    [XmlLangProperty("Language")]
    [UsableDuringInitialization(true)]
    [RuntimeNameProperty("Name")]
    [UidProperty("Uid")]
    [TypeDescriptionProvider(MS.Internal.ComponentModel.DependencyObjectProvider)]
    [NameScopeProperty("NameScope", System.Windows.NameScope)]
    public ref class WpfPdfCropSelectionTool : public Vintasoft.Imaging.Wpf.UI.VisualTools.WpfCropSelectionTool, Vintasoft.Imaging.Wpf.UI.VisualTools.UserInteraction.IWpfInteractiveObjectVintasoft.Imaging.Wpf.UI.VisualTools.UserInteraction.IWpfRectangularInteractiveObject  
    Remarks
    Rectangular region of PDF page or image in image viewer can be cropped as follows:
    • place the mouse to the desired position
    • press the action button (Vintasoft.Imaging.Wpf.UI.VisualTools.WpfVisualTool.ActionButton) and select the "crop" region by holding the action button
    • press the action button inside the "crop" region for cropping of image; press any mouse button outside of the "crop" region for canceling cropping of image
    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.WpfCropSelectionTool
                                        Vintasoft.Imaging.Pdf.Wpf.UI.WpfPdfCropSelectionTool

    Requirements

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

    See Also