Show / Hide Table of Contents

Class PTTextSelectTool

Inheritance
System.Object
PTTool
PTTextSelectTool
PTTextMarkupEditTool
Implements
IPTNoteEditControllerDelegate
IPTOverridable
IPTToolSwitching
IPTPDFViewCtrlToolDelegate
ObjCRuntime.INativeObject
System.IDisposable
UIKit.IUIAdaptivePresentationControllerDelegate
UIKit.IUIGestureRecognizerDelegate
UIKit.IUIPopoverPresentationControllerDelegate
Inherited Members
PTTool.AnnotationAdded(PTAnnot, nuint)
PTTool.AnnotationFlattened(PTAnnot, nuint)
PTTool.AnnotationModified(PTAnnot, nuint)
PTTool.AnnotationRemoved(PTAnnot, nuint)
PTTool.CGRectCanvasToCGRectScreen(CGRect)
PTTool.CGRectScreen2PDFRectPage(CGRect, Int32)
PTTool.CGRectScreenToCGRectCanvas(CGRect)
PTTool.CalculateAnnotationPosition(PTExtendedAnnotType, Int32, Boolean)
PTTool.CanEditAnnotation(PTAnnot, nuint)
PTTool.CommitAnnotation()
PTTool.ConvertPagePtToScreenPt(CGPoint, Int32)
PTTool.ConvertPagePtToScreenPtX(nfloat, nfloat, Int32)
PTTool.ConvertScreenPtToPagePt(CGPoint, Int32)
PTTool.ConvertScreenPtToPagePtX(nfloat, nfloat, Int32)
PTTool.DeleteSelectedAnnotation()
PTTool.DidCopyText(String, UIPasteboard)
PTTool.DidEndDisplayingAppearanceView(UIView, PTAnnot, Int32)
PTTool.DidSelectAnnotation(PTAnnot, nuint)
PTTool.EditSelectedAnnotationNote()
PTTool.ExecuteAction(PTActionParameter)
PTTool.FlattenAnnotations(PTAnnot[])
PTTool.FlattenAnnotations(PTAnnot[], Int32, NSError)
PTTool.FormFieldDataModified(PTAnnot, nuint)
PTTool.GeneratedAppearance(PTPDFViewCtrl, UIImageView, PTAnnot, UInt32)
PTTool.GetRectUnion(PTPDFRect, PTPDFRect)
PTTool.HandleDoubleTap(PTPDFViewCtrl, UITapGestureRecognizer)
PTTool.HandleFileAttachment(PTFileAttachment, nuint)
PTTool.HandleLongPress(PTPDFViewCtrl, UILongPressGestureRecognizer)
PTTool.HandleTap(PTPDFViewCtrl, UITapGestureRecognizer)
PTTool.HideMenu()
PTTool.JavascriptCallback(PTPDFViewCtrl, String, String)
PTTool.KeepToolAppearanceOnScreen()
PTTool.KeepToolAppearanceOnScreenWithImageView(UIImageView)
PTTool.ModifyAnnotation(PTAnnot, nuint, Action<PTAnnot, Int32>)
PTTool.NoteEditControllerCancelButtonPressed(PTNoteEditController, Boolean)
PTTool.NoteEditControllerDeleteSelectedAnnotation(PTNoteEditController)
PTTool.NoteEditControllerSaveNewNote(PTNoteEditController, String)
PTTool.NoteEditControllerStyleButtonPressed(PTNoteEditController)
PTTool.OnSwitchToolEvent(NSObject)
PTTool.OnTouchesBegan(PTPDFViewCtrl, NSSet<UITouch>, UIEvent)
PTTool.OnTouchesCancelled(PTPDFViewCtrl, NSSet<UITouch>, UIEvent)
PTTool.OnTouchesEnded(PTPDFViewCtrl, NSSet<UITouch>, UIEvent)
PTTool.OnTouchesMoved(PTPDFViewCtrl, NSSet<UITouch>, UIEvent)
PTTool.OuterScrollViewDidEndDecelerating(PTPDFViewCtrl, UIScrollView)
PTTool.OuterScrollViewDidEndDragging(PTPDFViewCtrl, UIScrollView, Boolean)
PTTool.OuterScrollViewDidEndScrollingAnimation(PTPDFViewCtrl, UIScrollView)
PTTool.OuterScrollViewDidEndZooming(PTPDFViewCtrl, UIScrollView, UIView, Single)
PTTool.OuterScrollViewDidScroll(PTPDFViewCtrl, UIScrollView)
PTTool.OuterScrollViewDidScrollToTop(PTPDFViewCtrl, UIScrollView)
PTTool.OuterScrollViewDidZoom(PTPDFViewCtrl, UIScrollView)
PTTool.OuterScrollViewShouldScrollToTop(PTPDFViewCtrl, UIScrollView)
PTTool.OuterScrollViewWillBeginDecelerating(PTPDFViewCtrl, UIScrollView)
PTTool.OuterScrollViewWillBeginDragging(PTPDFViewCtrl, UIScrollView)
PTTool.OuterScrollViewWillBeginZooming(PTPDFViewCtrl, UIScrollView, UIView)
PTTool.PDFRectPage2CGRectScreen(PTPDFRect, Int32)
PTTool.PDFRectScreen2CGRectScreen(PTPDFRect)
PTTool.PDFRectScreen2CGRectScreen(PTPDFRect, Int32)
PTTool.PageBoxInScreenPtsForPageNumber(Int32)
PTTool.PageCropBoxForPageNumber(Int32)
PTTool.PageNumberChangedFrom(PTPDFViewCtrl, Int32, Int32)
PTTool.PageRotationForPageNumber(Int32)
PTTool.PdfScrollViewDidEndDecelerating(PTPDFViewCtrl, UIScrollView)
PTTool.PdfScrollViewDidEndDragging(PTPDFViewCtrl, UIScrollView, Boolean)
PTTool.PdfScrollViewDidEndScrollingAnimation(PTPDFViewCtrl, UIScrollView)
PTTool.PdfScrollViewDidEndZooming(PTPDFViewCtrl, UIScrollView, UIView, Single)
PTTool.PdfScrollViewDidScroll(PTPDFViewCtrl, UIScrollView)
PTTool.PdfScrollViewDidScrollToTop(PTPDFViewCtrl, UIScrollView)
PTTool.PdfScrollViewDidZoom(PTPDFViewCtrl, UIScrollView)
PTTool.PdfScrollViewShouldScrollToTop(PTPDFViewCtrl, UIScrollView)
PTTool.PdfScrollViewWillBeginDecelerating(PTPDFViewCtrl, UIScrollView)
PTTool.PdfScrollViewWillBeginDragging(PTPDFViewCtrl, UIScrollView)
PTTool.PdfScrollViewWillBeginZooming(PTPDFViewCtrl, UIScrollView, UIView)
PTTool.PdfViewCtrlOnLayoutChanged(PTPDFViewCtrl)
PTTool.PdfViewCtrlOnRenderFinished(PTPDFViewCtrl)
PTTool.PdfViewCtrlOnSetDoc(PTPDFViewCtrl)
PTTool.RemoveAllSnappingViews()
PTTool.RemoveAppearanceViews()
PTTool.ScreenRectOfMovingAnnotationClosestToPosition(CGRect)
PTTool.ScreenRectOfResizingAnnotationClosestToPosition(CGRect)
PTTool.SetBackgroundColorForNote(PTNoteEditController, UIColor)
PTTool.SetBarButtonColorForNote(PTNoteEditController, UIColor)
PTTool.ShouldHandleIndirectScribbleInteraction(UIIndirectScribbleInteraction, PTAnnot, nuint)
PTTool.ShouldHandleLinkAnnotation(PTAnnot, PTLinkInfo, nuint)
PTTool.ShouldInteractWithForm(PTAnnot, nuint)
PTTool.ShouldSelectAnnotation(PTAnnot, nuint)
PTTool.ShouldShowMenu(UIMenuController, PTAnnot, nuint)
PTTool.ShowDisableSnappingMenuIfSnappingHasOccurred()
PTTool.ShowSelectionMenu(CGRect, Boolean)
PTTool.ShowSelectionMenu(CGRect)
PTTool.TouchesShouldBegin(PTPDFViewCtrl, NSSet<UITouch>, UIEvent, UIView)
PTTool.TouchesShouldCancelInContentView(PTPDFViewCtrl, UIView)
PTTool.WillCopyReturnedText(String, UIPasteboard)
PTTool.WillDisplayAppearanceView(UIView, PTAnnot, Int32)
PTTool.WillFlattenAnnotation(PTAnnot, nuint)
PTTool.WillModifyAnnotation(PTAnnot, nuint)
PTTool.WillRemoveAnnotation(PTAnnot, nuint)
PTTool.WillSelectAnnotation(PTAnnot, nuint)
PTTool.Dispose(Boolean)
PTTool.AllowScrolling
PTTool.AllowZoom
PTTool.AnnotClass
PTTool.AnnotType
PTTool.AnnotationAuthor
PTTool.AnnotationPageNumber
PTTool.BackToPanToolAfterUse
PTTool.CanEditStyle
PTTool.ClassAnnotType
PTTool.ClassCanEditStyle
PTTool.ClassCreatesAnnotation
PTTool.CreatesAnnotation
PTTool.CurrentAnnotation
PTTool.DefaultClass
PTTool.Identifier
PTTool.Image
PTTool.LocalizedName
PTTool.LongPressPoint
PTTool.NewTool
PTTool.NextToolType
PTTool.PageIndicatorIsVisible
PTTool.PdfViewCtrl
PTTool.PreviousToolType
PTTool.TextMarkupAdobeHack
PTTool.ToolManager
PTTool.UndoManagerEnabled
Namespace: pdftron.PDF.Tools
Assembly: Tools.dll
Syntax
public class PTTextSelectTool : PTTool, IPTNoteEditControllerDelegate, IPTOverridable, IPTToolSwitching, IPTPDFViewCtrlToolDelegate, INativeObject, IDisposable, IUIAdaptivePresentationControllerDelegate, IUIGestureRecognizerDelegate, IUIPopoverPresentationControllerDelegate

Constructors

PTTextSelectTool()

Declaration
public PTTextSelectTool()

PTTextSelectTool(NSCoder)

Declaration
public PTTextSelectTool(NSCoder coder)
Parameters
Type Name Description
Foundation.NSCoder coder

PTTextSelectTool(NSObjectFlag)

Declaration
protected PTTextSelectTool(NSObjectFlag t)
Parameters
Type Name Description
Foundation.NSObjectFlag t

PTTextSelectTool(IntPtr)

Declaration
protected PTTextSelectTool(IntPtr handle)
Parameters
Type Name Description
System.IntPtr handle

Properties

Appearance

Declaration
public static PTTextSelectTool.PTTextSelectToolAppearance Appearance { get; }
Property Value
Type Description
PTTextSelectTool.PTTextSelectToolAppearance

ClassHandle

Declaration
public override IntPtr ClassHandle { get; }
Property Value
Type Description
System.IntPtr
Overrides
PTTool.ClassHandle

LeadingBar

Declaration
public virtual PTSelectionBar LeadingBar { get; }
Property Value
Type Description
PTSelectionBar

MakeSelection

Declaration
public virtual NSValue[] MakeSelection { get; }
Property Value
Type Description
Foundation.NSValue[]

SelectionEnd

Declaration
public virtual CGPoint SelectionEnd { get; }
Property Value
Type Description
CoreGraphics.CGPoint

SelectionEndCorner

Declaration
public virtual CGPoint SelectionEndCorner { get; }
Property Value
Type Description
CoreGraphics.CGPoint

SelectionEndPageNumber

Declaration
public virtual int SelectionEndPageNumber { get; }
Property Value
Type Description
System.Int32

SelectionLayers

Declaration
public virtual CALayer[] SelectionLayers { get; }
Property Value
Type Description
CoreAnimation.CALayer[]

SelectionOnScreen

Declaration
public virtual bool SelectionOnScreen { get; }
Property Value
Type Description
System.Boolean

SelectionStart

Declaration
public virtual CGPoint SelectionStart { get; }
Property Value
Type Description
CoreGraphics.CGPoint

SelectionStartCorner

Declaration
public virtual CGPoint SelectionStartCorner { get; }
Property Value
Type Description
CoreGraphics.CGPoint

SelectionStartPageNumber

Declaration
public virtual int SelectionStartPageNumber { get; }
Property Value
Type Description
System.Int32

TrailingBar

Declaration
public virtual PTSelectionBar TrailingBar { get; }
Property Value
Type Description
PTSelectionBar

Methods

AppearanceWhenContainedIn(Type[])

Declaration
public static PTTextSelectTool.PTTextSelectToolAppearance AppearanceWhenContainedIn(params Type[] containers)
Parameters
Type Name Description
System.Type[] containers
Returns
Type Description
PTTextSelectTool.PTTextSelectToolAppearance

ClearSelectionBars()

Declaration
public virtual void ClearSelectionBars()

ClearSelectionOnly()

Declaration
public virtual void ClearSelectionOnly()

CopyText(NSObject)

Declaration
public virtual void CopyText(NSObject sender)
Parameters
Type Name Description
Foundation.NSObject sender

CreateTextMarkupAnnot(PTExtendedAnnotType)

Declaration
public virtual void CreateTextMarkupAnnot(PTExtendedAnnotType annotType)
Parameters
Type Name Description
PTExtendedAnnotType annotType

CreateTextMarkupAnnot(PTExtendedAnnotType, PTColorPt, Int32, Double)

Declaration
public virtual void CreateTextMarkupAnnot(PTExtendedAnnotType annotType, PTColorPt color, int components, double opacity)
Parameters
Type Name Description
PTExtendedAnnotType annotType
PTColorPt color
System.Int32 components
System.Double opacity

DrawSelectionBars(NSValue[])

Declaration
public virtual void DrawSelectionBars(NSValue[] selection)
Parameters
Type Name Description
Foundation.NSValue[] selection

DrawSelectionQuads(NSValue[], Boolean, Boolean)

Declaration
public virtual void DrawSelectionQuads(NSValue[] quads, bool lines, bool animation)
Parameters
Type Name Description
Foundation.NSValue[] quads
System.Boolean lines
System.Boolean animation

GetAppearance(UITraitCollection)

Declaration
public static PTTextSelectTool.PTTextSelectToolAppearance GetAppearance(UITraitCollection traits)
Parameters
Type Name Description
UIKit.UITraitCollection traits
Returns
Type Description
PTTextSelectTool.PTTextSelectToolAppearance

GetAppearance(UITraitCollection, Type[])

Declaration
public static PTTextSelectTool.PTTextSelectToolAppearance GetAppearance(UITraitCollection traits, params Type[] containers)
Parameters
Type Name Description
UIKit.UITraitCollection traits
System.Type[] containers
Returns
Type Description
PTTextSelectTool.PTTextSelectToolAppearance

GetAppearance<T>()

Declaration
public static PTTextSelectTool.PTTextSelectToolAppearance GetAppearance<T>()
    where T : PTTextSelectTool
Returns
Type Description
PTTextSelectTool.PTTextSelectToolAppearance
Type Parameters
Name Description
T

GetAppearance<T>(UITraitCollection)

Declaration
public static PTTextSelectTool.PTTextSelectToolAppearance GetAppearance<T>(UITraitCollection traits)
    where T : PTTextSelectTool
Parameters
Type Name Description
UIKit.UITraitCollection traits
Returns
Type Description
PTTextSelectTool.PTTextSelectToolAppearance
Type Parameters
Name Description
T

GetAppearance<T>(UITraitCollection, Type[])

Declaration
public static PTTextSelectTool.PTTextSelectToolAppearance GetAppearance<T>(UITraitCollection traits, params Type[] containers)
    where T : PTTextSelectTool
Parameters
Type Name Description
UIKit.UITraitCollection traits
System.Type[] containers
Returns
Type Description
PTTextSelectTool.PTTextSelectToolAppearance
Type Parameters
Name Description
T

GetQuadsFromPage(Int32, Int32)

Declaration
public virtual NSValue[] GetQuadsFromPage(int page1, int page2)
Parameters
Type Name Description
System.Int32 page1
System.Int32 page2
Returns
Type Description
Foundation.NSValue[]

ShowMenuController()

Declaration
public virtual void ShowMenuController()

Implements

IPTNoteEditControllerDelegate
IPTOverridable
IPTToolSwitching
IPTPDFViewCtrlToolDelegate
ObjCRuntime.INativeObject
System.IDisposable
UIKit.IUIAdaptivePresentationControllerDelegate
UIKit.IUIGestureRecognizerDelegate
UIKit.IUIPopoverPresentationControllerDelegate
Back to top Generated by DocFX