Class StrokeReplicator
Helper class that own a FreeHandCreateTool as and a PDFViewCtrl, and replicates the strokes drawn by the tool on the PDFViewCtrl
Inheritance
System.Object
Windows.UI.Xaml.DependencyObject
Windows.UI.Xaml.UIElement
Windows.UI.Xaml.FrameworkElement
Windows.UI.Xaml.Controls.Panel
Windows.UI.Xaml.Controls.Canvas
StrokeReplicator
Implements
Windows.UI.Composition.IAnimationObject
Windows.UI.Composition.IVisualElement
Namespace: pdftron.PDF.Tools.Controls
Assembly: pdftron.PDF.Tools.dll
Syntax
public class StrokeReplicator : Canvas, 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, IPanel, IPanel2, ICanvas
Constructors
StrokeReplicator(PDFViewCtrl, FreehandCreate)
Declaration
public StrokeReplicator(PDFViewCtrl ctrl, FreehandCreate tool)
Parameters
Type | Name | Description |
---|---|---|
PDFViewCtrl | ctrl | |
FreehandCreate | tool |
Properties
HasStroke
Declaration
public bool HasStroke { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
IsCommited
Declaration
public bool IsCommited { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Methods
CleanUp()
Declaration
public void CleanUp()
Commit()
Declaration
public void Commit()
Implements
Windows.UI.Composition.IAnimationObject
Windows.UI.Composition.IVisualElement