Show / Hide Table of Contents

Class PTFreeTextCreate

Inheritance
System.Object
PTTool
PTFreeTextCreate
PTCalloutCreate
PTDateTextCreate
PTSpacingTextCreate
Implements
IPTNoteEditControllerDelegate
IPTOverridable
IPTToolSwitching
IPTPDFViewCtrlToolDelegate
UIKit.IUIAdaptivePresentationControllerDelegate
UIKit.IUIGestureRecognizerDelegate
UIKit.IUIPopoverPresentationControllerDelegate
UIKit.IUIScrollViewDelegate
ObjCRuntime.INativeObject
System.IDisposable
UIKit.IUITextViewDelegate
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.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 PTFreeTextCreate : PTTool, IPTNoteEditControllerDelegate, IPTOverridable, IPTToolSwitching, IPTPDFViewCtrlToolDelegate, IUIAdaptivePresentationControllerDelegate, IUIGestureRecognizerDelegate, IUIPopoverPresentationControllerDelegate, IUIScrollViewDelegate, INativeObject, IDisposable, IUITextViewDelegate

Constructors

PTFreeTextCreate()

Declaration
public PTFreeTextCreate()

PTFreeTextCreate(NSCoder)

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

PTFreeTextCreate(NSObjectFlag)

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

PTFreeTextCreate(PTPDFViewCtrl, UITextView)

Declaration
public PTFreeTextCreate(PTPDFViewCtrl pdfViewCtrl, UITextView textView)
Parameters
Type Name Description
PTPDFViewCtrl pdfViewCtrl
UIKit.UITextView textView

PTFreeTextCreate(IntPtr)

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

Properties

Appearance

Declaration
public static PTFreeTextCreate.PTFreeTextCreateAppearance Appearance { get; }
Property Value
Type Description
PTFreeTextCreate.PTFreeTextCreateAppearance

ClassHandle

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

TextView

Declaration
public virtual PTFreeTextView TextView { get; }
Property Value
Type Description
PTFreeTextView

Methods

AppearanceWhenContainedIn(Type[])

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

CommitAnnotation()

Declaration
public virtual void CommitAnnotation()

CreateAppearanceForAnnot(PTFreeText, PTPDFDoc, Page.Rotate)

Declaration
public static void CreateAppearanceForAnnot(PTFreeText freeText, PTPDFDoc doc, Page.Rotate viewerRotation)
Parameters
Type Name Description
PTFreeText freeText
PTPDFDoc doc
pdftron.PDF.Page.Rotate viewerRotation

CreateFreeText()

Declaration
public virtual PTFreeText CreateFreeText()
Returns
Type Description
PTFreeText

GetAnnotationRotation(Double)

Declaration
public static Page.Rotate GetAnnotationRotation(double degree)
Parameters
Type Name Description
System.Double degree
Returns
Type Description
pdftron.PDF.Page.Rotate

GetAppearance(UITraitCollection)

Declaration
public static PTFreeTextCreate.PTFreeTextCreateAppearance GetAppearance(UITraitCollection traits)
Parameters
Type Name Description
UIKit.UITraitCollection traits
Returns
Type Description
PTFreeTextCreate.PTFreeTextCreateAppearance

GetAppearance(UITraitCollection, Type[])

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

GetAppearance<T>()

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

GetAppearance<T>(UITraitCollection)

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

GetAppearance<T>(UITraitCollection, Type[])

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

GetUnrotatedRect(PTPDFRect, Double)

Declaration
public static PTPDFRect GetUnrotatedRect(PTPDFRect rect, double degree)
Parameters
Type Name Description
PTPDFRect rect
System.Double degree
Returns
Type Description
PTPDFRect

RefreshAppearanceForAnnot(PTFreeText, PTPDFDoc)

Declaration
public static void RefreshAppearanceForAnnot(PTFreeText freeText, PTPDFDoc doc)
Parameters
Type Name Description
PTFreeText freeText
PTPDFDoc doc

SetPropertiesForFreeText(PTFreeText)

Declaration
public virtual void SetPropertiesForFreeText(PTFreeText freeText)
Parameters
Type Name Description
PTFreeText freeText

SetRectForFreeText(PTFreeText)

Declaration
public virtual void SetRectForFreeText(PTFreeText freeText)
Parameters
Type Name Description
PTFreeText freeText

SetRectForFreeText(PTFreeText, PTPDFRect, PTPDFViewCtrl, Boolean)

Declaration
public static void SetRectForFreeText(PTFreeText freeText, PTPDFRect rect, PTPDFViewCtrl pdfViewCtrl, bool isRTL)
Parameters
Type Name Description
PTFreeText freeText
PTPDFRect rect
PTPDFViewCtrl pdfViewCtrl
System.Boolean isRTL

TextViewForAnnot(PTFreeText, Int32, PTPDFViewCtrl)

Declaration
public static UITextView TextViewForAnnot(PTFreeText freeText, int pageNumber, PTPDFViewCtrl pdfViewCtrl)
Parameters
Type Name Description
PTFreeText freeText
System.Int32 pageNumber
PTPDFViewCtrl pdfViewCtrl
Returns
Type Description
UIKit.UITextView

Implements

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