Class CropView
Inheritance
System.Object
Windows.UI.Xaml.DependencyObject
Windows.UI.Xaml.UIElement
Windows.UI.Xaml.FrameworkElement
Windows.UI.Xaml.Controls.Control
Windows.UI.Xaml.Controls.UserControl
CropView
Implements
Windows.UI.Composition.IAnimationObject
Windows.UI.Composition.IVisualElement
Namespace: pdftron.PDF.Tools.Controls
Assembly: pdftron.PDF.Tools.dll
Syntax
public sealed class CropView : UserControl, IDependencyObject, IDependencyObject2, IUIElement, IUIElement2, IUIElement3, IUIElement4, IUIElement5, IUIElement7, IUIElement8, IUIElement9, IUIElement10, IUIElementOverrides, IUIElementOverrides7, IUIElementOverrides8, IUIElementOverrides9, IAnimationObject, IVisualElement, IFrameworkElement, IFrameworkElement2, IFrameworkElement3, IFrameworkElement4, IFrameworkElement6, IFrameworkElement7, IFrameworkElementProtected7, IFrameworkElementOverrides, IFrameworkElementOverrides2, IControl, IControl2, IControl3, IControl4, IControl5, IControl7, IControlProtected, IControlOverrides, IControlOverrides6, IUserControl, ICloseableControl
Constructors
CropView(PDFViewCtrl)
Declaration
public CropView(PDFViewCtrl ctrl)
Parameters
Type | Name | Description |
---|---|---|
PDFViewCtrl | ctrl |
Properties
ViewModel
Declaration
public CropViewViewModel ViewModel { get; }
Property Value
Type | Description |
---|---|
CropViewViewModel |
Methods
CloseControl()
Declaration
public void CloseControl()
GoBack()
Will perform a back operation if applicable. Use this when the back button is pressed to give this control a chance to handle it.
Declaration
public bool GoBack()
Returns
Type | Description |
---|---|
System.Boolean | true if the control could go back |
SetColorPostProcessing(PDFRasterizerColorPostProcessMode, Nullable<Color>, Nullable<Color>)
Use this to apply the current custom color mode to the crop view.
Declaration
public void SetColorPostProcessing(PDFRasterizerColorPostProcessMode mode, Color? background, Color? foreground)
Parameters
Type | Name | Description |
---|---|---|
PDFRasterizerColorPostProcessMode | mode | |
System.Nullable<Windows.UI.Color> | background | |
System.Nullable<Windows.UI.Color> | foreground |
Events
ControlClosed
Declaration
public event ControlClosedDelegate ControlClosed
Event Type
Type | Description |
---|---|
ControlClosedDelegate |
Implements
Windows.UI.Composition.IAnimationObject
Windows.UI.Composition.IVisualElement