Class MagnifyingTool
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
MagnifyingTool
Implements
Windows.UI.Composition.IAnimationObject
Windows.UI.Composition.IVisualElement
Assembly: pdftron.PDF.Tools.dll
public class MagnifyingTool : Tool, 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
Declaration
public MagnifyingTool(PDFViewCtrl ctrl, ToolManager tMan)
Parameters
Type |
Name |
Description |
PDFViewCtrl |
ctrl |
|
ToolManager |
tMan |
|
Properties
Declaration
public double EllipseHitRadius { get; set; }
Property Value
Type |
Description |
System.Double |
|
Gets or sets whether or not the user can pinch to zoom
Can only be enabled if TouchScrollingmode is system.
Declaration
public bool EnablePinchZooming { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Gets or sets which widget or control is driving interaction. If the MagnifyingTool's wigets is being manipulated,
the driver is tool, but if the view that shows the zoomed in rectangle is being manipulated, it can set the
InteractionDriver to user.
Note, never set InteractionDriver to user unless it currently is none, and always return it to
none when finished.
Declaration
public MagnifyingTool.InteractionDrivers InteractionDriver { get; set; }
Property Value
PageOfTopLeftCorner
Gets the closest page that the top left corner of the rectangle is on.
Declaration
public int PageOfTopLeftCorner { get; }
Property Value
Type |
Description |
System.Int32 |
|
Declaration
public Point Position { get; set; }
Property Value
Type |
Description |
Windows.Foundation.Point |
|
Gets or sets whether or not scrolling is enabled.
Declaration
public bool ScrollingEnabled { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Gets or sets the Size of the magnifying widget
Declaration
public Size Size { get; set; }
Property Value
Type |
Description |
Windows.Foundation.Size |
|
TopLeftCornerInPageSpace
Returns the top left corner in the page coordinates of page PageOfTopLeftCorner
Declaration
public Point TopLeftCornerInPageSpace { get; }
Property Value
Type |
Description |
Windows.Foundation.Point |
|
Gets or sets whether system scrolling en enabled.
Declaration
public MagnifyingTool.TouchScrollingModes TouchScrollingmode { get; set; }
Property Value
Gets or sets the minimum size of the widget.
Declaration
public Size WidgetMinSize { get; set; }
Property Value
Type |
Description |
Windows.Foundation.Size |
|
Methods
Declaration
public void MoveWidget(MagnifyingTool.NavigationDirections direction)
Parameters
Declaration
Events
Declaration
public event RoutedEventHandler PositionChanged
Event Type
Type |
Description |
Windows.UI.Xaml.RoutedEventHandler |
|
Implements
Windows.UI.Composition.IAnimationObject
Windows.UI.Composition.IVisualElement
Extension Methods