Class AnnotEditRectGroup
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
AnnotEditRectGroup
Implements
Windows.UI.Composition.IAnimationObject
Windows.UI.Composition.IVisualElement
Inherited Members
Namespace: pdftron.PDF.Tools
Assembly: pdftron.PDF.Tools.dll
Syntax
public class AnnotEditRectGroup : AnnotEdit, 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
AnnotEditRectGroup(PDFViewCtrl, ToolManager)
Declaration
public AnnotEditRectGroup(PDFViewCtrl ctrl, ToolManager tMan)
Parameters
Type | Name | Description |
---|---|---|
PDFViewCtrl | ctrl | |
ToolManager | tMan |
Fields
mCreated
Declaration
protected bool mCreated
Field Value
Type | Description |
---|---|
System.Boolean |
mFillPaint
Declaration
protected SolidColorBrush mFillPaint
Field Value
Type | Description |
---|---|
Windows.UI.Xaml.Media.SolidColorBrush |
mIsFillColor
Declaration
protected bool mIsFillColor
Field Value
Type | Description |
---|---|
System.Boolean |
mOpacity
Declaration
protected double mOpacity
Field Value
Type | Description |
---|---|
System.Double |
mSelectedAnnotations
Declaration
protected Dictionary<IAnnot, int> mSelectedAnnotations
Field Value
Type | Description |
---|---|
Dictionary<IAnnot, System.Int32> |
mSelectedRectInPage
Declaration
protected Rect mSelectedRectInPage
Field Value
Type | Description |
---|---|
pdftron.PDF.Rect |
Methods
BackToPan()
Declaration
protected void BackToPan()
DeleteAnnotationOnKeyDown()
Declaration
protected override void DeleteAnnotationOnKeyDown()
Overrides
DeleteGroupAnnotations()
Declaration
protected void DeleteGroupAnnotations()
DoesAnnotationSupportResize(IAnnot)
Declaration
protected bool DoesAnnotationSupportResize(IAnnot annotation)
Parameters
Type | Name | Description |
---|---|---|
IAnnot | annotation |
Returns
Type | Description |
---|---|
System.Boolean |
FindSelectedAnnotationsAndRect()
Find all selected annotations rectangles and return a group rectangle
Declaration
protected virtual Rect FindSelectedAnnotationsAndRect()
Returns
Type | Description |
---|---|
pdftron.PDF.Rect | Annotation Group Rectangle that combines all selected annotations |
FlattenAnnotation(Page)
Declaration
protected override void FlattenAnnotation(Page page)
Parameters
Type | Name | Description |
---|---|---|
pdftron.PDF.Page | page |
Overrides
GetToolMode()
Declaration
public ToolType GetToolMode()
Returns
Type | Description |
---|---|
ToolType |
PopulateMenu()
Adds in the menu options according to the type of annotation
Declaration
protected override void PopulateMenu()
Overrides
SetAnnotOptions(IAnnot)
Declaration
protected void SetAnnotOptions(IAnnot annotation)
Parameters
Type | Name | Description |
---|---|---|
IAnnot | annotation |
SetCurrentAnnotColor()
Sets the selected color of the current annotation
Declaration
protected override void SetCurrentAnnotColor()
Overrides
SetGroupOpacity(Double, IAnnot)
Declaration
protected void SetGroupOpacity(double opacity, IAnnot annotation)
Parameters
Type | Name | Description |
---|---|---|
System.Double | opacity | |
IAnnot | annotation |
SetMAnnot()
Declaration
protected void SetMAnnot()
SetPosition()
Declaration
protected override void SetPosition()
Overrides
UngroupAnnotations()
Declaration
protected void UngroupAnnotations()
UpdateAnnotationsOnMoveAndResize()
Declaration
protected void UpdateAnnotationsOnMoveAndResize()
UpdateOpacitySettingsAndSetOpacity(Double)
Declaration
protected override void UpdateOpacitySettingsAndSetOpacity(double opacity)
Parameters
Type | Name | Description |
---|---|---|
System.Double | opacity |
Overrides
Implements
Windows.UI.Composition.IAnimationObject
Windows.UI.Composition.IVisualElement