Class PTPDFViewCtrl
Inheritance
System.Object
PTPDFViewCtrl
Implements
UIKit.IUIGestureRecognizerDelegate
ObjCRuntime.INativeObject
System.IDisposable
UIKit.IUIPrintInteractionControllerDelegate
UIKit.IUIScrollViewDelegate
Assembly: PDFNetiOS.dll
Syntax
public class PTPDFViewCtrl : UIView
Constructors
PTPDFViewCtrl()
Declaration
PTPDFViewCtrl(CGRect)
Declaration
public PTPDFViewCtrl(CGRect frame)
Parameters
| Type |
Name |
Description |
| CoreGraphics.CGRect |
frame |
|
PTPDFViewCtrl(NSCoder)
Declaration
public PTPDFViewCtrl(NSCoder coder)
Parameters
| Type |
Name |
Description |
| Foundation.NSCoder |
coder |
|
PTPDFViewCtrl(NSObjectFlag)
Declaration
protected PTPDFViewCtrl(NSObjectFlag t)
Parameters
| Type |
Name |
Description |
| Foundation.NSObjectFlag |
t |
|
PTPDFViewCtrl(NativeHandle)
Declaration
protected PTPDFViewCtrl(NativeHandle handle)
Parameters
| Type |
Name |
Description |
| ObjCRuntime.NativeHandle |
handle |
|
Properties
AdditionalYOffset
Declaration
public virtual NFloat AdditionalYOffset { get; set; }
Property Value
| Type |
Description |
| System.Runtime.InteropServices.NFloat |
|
Appearance
Declaration
public static PTPDFViewCtrl.PTPDFViewCtrlAppearance Appearance { get; }
Property Value
CanRedo
Declaration
public virtual bool CanRedo { get; }
Property Value
| Type |
Description |
| System.Boolean |
|
CanUndo
Declaration
public virtual bool CanUndo { get; }
Property Value
| Type |
Description |
| System.Boolean |
|
CanvasHeight
Declaration
public virtual double CanvasHeight { get; }
Property Value
| Type |
Description |
| System.Double |
|
CanvasWidth
Declaration
public virtual double CanvasWidth { get; }
Property Value
| Type |
Description |
| System.Double |
|
ClassHandle
Declaration
public override NativeHandle ClassHandle { get; }
Property Value
| Type |
Description |
| ObjCRuntime.NativeHandle |
|
ContentInsetAdjustmentBehavior
Declaration
public virtual UIScrollViewContentInsetAdjustmentBehavior ContentInsetAdjustmentBehavior { get; set; }
Property Value
| Type |
Description |
| UIKit.UIScrollViewContentInsetAdjustmentBehavior |
|
Delegate
Declaration
public PTPDFViewCtrlDelegate Delegate { get; set; }
Property Value
DirectionalLockEnabled
Declaration
public virtual bool DirectionalLockEnabled { get; set; }
Property Value
| Type |
Description |
| System.Boolean |
|
ExternalAnnotManager
Declaration
public virtual PTExternalAnnotManager ExternalAnnotManager { get; }
Property Value
GetDocumentConversion
Declaration
public virtual PTDocumentConversion GetDocumentConversion { get; }
Property Value
GetRightToLeftLanguage
Declaration
public virtual bool GetRightToLeftLanguage { get; }
Property Value
| Type |
Description |
| System.Boolean |
|
HasSelection
Declaration
public virtual bool HasSelection { get; }
Property Value
| Type |
Description |
| System.Boolean |
|
InsetOffsets
Declaration
public virtual CGPoint InsetOffsets { get; }
Property Value
| Type |
Description |
| CoreGraphics.CGPoint |
|
NextRedoInfo
Declaration
public virtual string NextRedoInfo { get; }
Property Value
| Type |
Description |
| System.String |
|
NextUndoInfo
Declaration
public virtual string NextUndoInfo { get; }
Property Value
| Type |
Description |
| System.String |
|
Declaration
public OuterScrollViewShouldScrollToTop OuterScrollViewShouldScrollToTop { get; set; }
Property Value
OverlayView
Declaration
public virtual UIView OverlayView { get; }
Property Value
| Type |
Description |
| UIKit.UIView |
|
PageCount
Declaration
public virtual int PageCount { get; }
Property Value
| Type |
Description |
| System.Int32 |
|
PagePresentationModeIsContinuous
Declaration
public virtual bool PagePresentationModeIsContinuous { get; }
Property Value
| Type |
Description |
| System.Boolean |
|
PagingDirection
Declaration
public virtual PTPDFViewCtrlPagingDirection PagingDirection { get; set; }
Property Value
Declaration
public PdfScrollViewShouldScrollToTop PdfScrollViewShouldScrollToTop { get; set; }
Property Value
PurgeMemoryOnMemoryWarning
Declaration
public virtual bool PurgeMemoryOnMemoryWarning { get; set; }
Property Value
| Type |
Description |
| System.Boolean |
|
RetinaEnabled
Declaration
public virtual bool RetinaEnabled { get; set; }
Property Value
| Type |
Description |
| System.Boolean |
|
Rotation
Declaration
public virtual RotationModes Rotation { get; }
Property Value
Declaration
public virtual bool ScrollEnabled { get; set; }
Property Value
| Type |
Description |
| System.Boolean |
|
SelectionBeginPage
Declaration
public virtual int SelectionBeginPage { get; }
Property Value
| Type |
Description |
| System.Int32 |
|
SelectionEndPage
Declaration
public virtual int SelectionEndPage { get; }
Property Value
| Type |
Description |
| System.Int32 |
|
Declaration
public PTPDFViewCtrlToolDelegate ToolDelegate { get; set; }
Property Value
Declaration
public virtual UIView ToolOverlayView { get; }
Property Value
| Type |
Description |
| UIKit.UIView |
|
UndoManager
Declaration
public virtual NSUndoManager UndoManager { get; }
Property Value
| Type |
Description |
| Foundation.NSUndoManager |
|
UndoRedoEnabled
Declaration
public virtual bool UndoRedoEnabled { get; }
Property Value
| Type |
Description |
| System.Boolean |
|
VisiblePages
Declaration
public virtual NSMutableArray<NSNumber> VisiblePages { get; }
Property Value
| Type |
Description |
| Foundation.NSMutableArray<Foundation.NSNumber> |
|
WeakDelegate
Declaration
public virtual NSObject WeakDelegate { get; set; }
Property Value
| Type |
Description |
| Foundation.NSObject |
|
Declaration
public virtual NSObject WeakToolDelegate { get; set; }
Property Value
| Type |
Description |
| Foundation.NSObject |
|
ZoomEnabled
Declaration
public virtual bool ZoomEnabled { get; set; }
Property Value
| Type |
Description |
| System.Boolean |
|
ZoomLimitMode
Declaration
public virtual ZoomLimitModes ZoomLimitMode { get; }
Property Value
ZoomMaximumLimit
Declaration
public virtual double ZoomMaximumLimit { get; }
Property Value
| Type |
Description |
| System.Double |
|
ZoomMinimumLimit
Declaration
public virtual double ZoomMinimumLimit { get; }
Property Value
| Type |
Description |
| System.Double |
|
ZoomScale
Declaration
public virtual double ZoomScale { get; }
Property Value
| Type |
Description |
| System.Double |
|
Methods
AddFloatingView(UIView)
Declaration
public virtual void AddFloatingView(UIView view)
Parameters
| Type |
Name |
Description |
| UIKit.UIView |
view |
|
AddFloatingView(UIView, Int32, PTPDFPoint)
Declaration
public virtual void AddFloatingView(UIView view, int pageNumber, PTPDFPoint pageSpacePoint)
Parameters
| Type |
Name |
Description |
| UIKit.UIView |
view |
|
| System.Int32 |
pageNumber |
|
| PTPDFPoint |
pageSpacePoint |
|
AddFloatingView(UIView, Int32, PTPDFRect, Boolean)
Declaration
public virtual void AddFloatingView(UIView view, int pageNumber, PTPDFRect pageSpaceRect, bool noZoom)
Parameters
| Type |
Name |
Description |
| UIKit.UIView |
view |
|
| System.Int32 |
pageNumber |
|
| PTPDFRect |
pageSpaceRect |
|
| System.Boolean |
noZoom |
|
AppearanceWhenContainedIn(Type[])
Declaration
public static PTPDFViewCtrl.PTPDFViewCtrlAppearance AppearanceWhenContainedIn(params Type[] containers)
Parameters
| Type |
Name |
Description |
| System.Type[] |
containers |
|
Returns
CancelAllThumbRequests()
Declaration
public virtual void CancelAllThumbRequests()
CancelFindText()
Declaration
public virtual void CancelFindText()
CancelRendering()
Declaration
public virtual void CancelRendering()
CGRectScreen2PDFRectPage(CGRect, Int32)
Declaration
public virtual PTPDFRect CGRectScreen2PDFRectPage(CGRect cgRect, int pageNumber)
Parameters
| Type |
Name |
Description |
| CoreGraphics.CGRect |
cgRect |
|
| System.Int32 |
pageNumber |
|
Returns
ClearFloatingViewPageCache()
Declaration
public virtual void ClearFloatingViewPageCache()
ClearFloatingViews()
Declaration
public virtual void ClearFloatingViews()
ClearSelection()
Declaration
public virtual void ClearSelection()
ClearThumbCache()
Declaration
public virtual void ClearThumbCache()
CloseDoc()
Declaration
public virtual void CloseDoc()
ConvCanvasPtToPagePt(PTPDFPoint, Int32)
Declaration
public virtual PTPDFPoint ConvCanvasPtToPagePt(PTPDFPoint pt, int page_num)
Parameters
| Type |
Name |
Description |
| PTPDFPoint |
pt |
|
| System.Int32 |
page_num |
|
Returns
ConvCanvasPtToScreenPt(PTPDFPoint)
Declaration
public virtual PTPDFPoint ConvCanvasPtToScreenPt(PTPDFPoint pt)
Parameters
Returns
ConvPagePtToCanvasPt(PTPDFPoint, Int32)
Declaration
public virtual PTPDFPoint ConvPagePtToCanvasPt(PTPDFPoint pt, int page_num)
Parameters
| Type |
Name |
Description |
| PTPDFPoint |
pt |
|
| System.Int32 |
page_num |
|
Returns
ConvPagePtToScreenPt(PTPDFPoint, Int32)
Declaration
public virtual PTPDFPoint ConvPagePtToScreenPt(PTPDFPoint pt, int page_num)
Parameters
| Type |
Name |
Description |
| PTPDFPoint |
pt |
|
| System.Int32 |
page_num |
|
Returns
ConvScreenPtToCanvasPt(PTPDFPoint)
Declaration
public virtual PTPDFPoint ConvScreenPtToCanvasPt(PTPDFPoint pt)
Parameters
Returns
ConvScreenPtToPagePt(PTPDFPoint, Int32)
Declaration
public virtual PTPDFPoint ConvScreenPtToPagePt(PTPDFPoint pt, int page_num)
Parameters
| Type |
Name |
Description |
| PTPDFPoint |
pt |
|
| System.Int32 |
page_num |
|
Returns
Dispose(Boolean)
Declaration
protected override void Dispose(bool disposing)
Parameters
| Type |
Name |
Description |
| System.Boolean |
disposing |
|
DocLock(Boolean)
Declaration
public virtual void DocLock(bool cancelThreads)
Parameters
| Type |
Name |
Description |
| System.Boolean |
cancelThreads |
|
DocLockRead()
Declaration
public virtual void DocLockRead()
DocTryLock(Int32)
Declaration
public virtual bool DocTryLock(int milliseconds)
Parameters
| Type |
Name |
Description |
| System.Int32 |
milliseconds |
|
Returns
| Type |
Description |
| System.Boolean |
|
DocTryLockRead(Int32)
Declaration
public virtual bool DocTryLockRead(int milliseconds)
Parameters
| Type |
Name |
Description |
| System.Int32 |
milliseconds |
|
Returns
| Type |
Description |
| System.Boolean |
|
DocUnlock()
Declaration
public virtual void DocUnlock()
DocUnlockRead()
Declaration
public virtual void DocUnlockRead()
EnableAnnotationManager(String)
Declaration
public virtual PTExternalAnnotManager EnableAnnotationManager(string userID)
Parameters
| Type |
Name |
Description |
| System.String |
userID |
|
Returns
EnableAnnotationManager(String, PTExternalAnnotManagerMode)
Declaration
public virtual PTExternalAnnotManager EnableAnnotationManager(string userID, PTExternalAnnotManagerMode mode)
Parameters
Returns
EnableUndoRedo()
Declaration
public virtual void EnableUndoRedo()
ExecuteAction(PTAction)
Declaration
public virtual void ExecuteAction(PTAction action)
Parameters
ExecuteActionWithActionParameter(PTActionParameter)
Declaration
public virtual void ExecuteActionWithActionParameter(PTActionParameter action_param)
Parameters
FindText(String, Boolean, Boolean, Boolean, Boolean)
Declaration
public virtual bool FindText(string searchString, bool matchCase, bool matchWholeWord, bool searchUp, bool regExp)
Parameters
| Type |
Name |
Description |
| System.String |
searchString |
|
| System.Boolean |
matchCase |
|
| System.Boolean |
matchWholeWord |
|
| System.Boolean |
searchUp |
|
| System.Boolean |
regExp |
|
Returns
| Type |
Description |
| System.Boolean |
|
FloatingViewsOnPage(Int32)
Declaration
public virtual UIView[] FloatingViewsOnPage(int pageNumber)
Parameters
| Type |
Name |
Description |
| System.Int32 |
pageNumber |
|
Returns
| Type |
Description |
| UIKit.UIView[] |
|
GetAnnotationAt(Int32, Int32, Double, Double)
Declaration
public virtual PTAnnot GetAnnotationAt(int x, int y, double distanceThreshold, double minimumLineWeight)
Parameters
| Type |
Name |
Description |
| System.Int32 |
x |
|
| System.Int32 |
y |
|
| System.Double |
distanceThreshold |
|
| System.Double |
minimumLineWeight |
|
Returns
GetAnnotationListAt(Int32, Int32, Int32, Int32)
Declaration
public virtual PTAnnot[] GetAnnotationListAt(int x1, int y1, int x2, int y2)
Parameters
| Type |
Name |
Description |
| System.Int32 |
x1 |
|
| System.Int32 |
y1 |
|
| System.Int32 |
x2 |
|
| System.Int32 |
y2 |
|
Returns
GetAnnotationsOnPage(Int32)
Declaration
public virtual PTAnnot[] GetAnnotationsOnPage(int page_num)
Parameters
| Type |
Name |
Description |
| System.Int32 |
page_num |
|
Returns
GetAppearance(UITraitCollection)
Declaration
public static PTPDFViewCtrl.PTPDFViewCtrlAppearance GetAppearance(UITraitCollection traits)
Parameters
| Type |
Name |
Description |
| UIKit.UITraitCollection |
traits |
|
Returns
GetAppearance(UITraitCollection, Type[])
Declaration
public static PTPDFViewCtrl.PTPDFViewCtrlAppearance GetAppearance(UITraitCollection traits, params Type[] containers)
Parameters
| Type |
Name |
Description |
| UIKit.UITraitCollection |
traits |
|
| System.Type[] |
containers |
|
Returns
GetAppearance<T>()
Declaration
public static PTPDFViewCtrl.PTPDFViewCtrlAppearance GetAppearance<T>()
where T : PTPDFViewCtrl
Returns
Type Parameters
GetAppearance<T>(UITraitCollection)
Declaration
public static PTPDFViewCtrl.PTPDFViewCtrlAppearance GetAppearance<T>(UITraitCollection traits)
where T : PTPDFViewCtrl
Parameters
| Type |
Name |
Description |
| UIKit.UITraitCollection |
traits |
|
Returns
Type Parameters
GetAppearance<T>(UITraitCollection, Type[])
Declaration
public static PTPDFViewCtrl.PTPDFViewCtrlAppearance GetAppearance<T>(UITraitCollection traits, params Type[] containers)
where T : PTPDFViewCtrl
Parameters
| Type |
Name |
Description |
| UIKit.UITraitCollection |
traits |
|
| System.Type[] |
containers |
|
Returns
Type Parameters
GetColorPostProcessMode()
Declaration
public virtual ColorPostProcessMode GetColorPostProcessMode()
Returns
GetCurrentPage()
Declaration
public virtual int GetCurrentPage()
Returns
| Type |
Description |
| System.Int32 |
|
Declaration
public virtual PTMatrix2D GetDeviceTransform(int page_num)
Parameters
| Type |
Name |
Description |
| System.Int32 |
page_num |
|
Returns
GetDoc()
Declaration
public virtual PTPDFDoc GetDoc()
Returns
GetExternalAnnotManager(String, PTExternalAnnotManagerMode)
Declaration
public virtual PTExternalAnnotManager GetExternalAnnotManager(string author, PTExternalAnnotManagerMode mode)
Parameters
Returns
Declaration
public virtual double GetHScrollPos()
Returns
| Type |
Description |
| System.Double |
|
GetLinkAt(Int32, Int32)
Declaration
public virtual PTLinkInfo GetLinkAt(int x, int y)
Parameters
| Type |
Name |
Description |
| System.Int32 |
x |
|
| System.Int32 |
y |
|
Returns
GetOCGContext()
Declaration
public virtual PTContext GetOCGContext()
Returns
GetPageNumberFromScreenPt(Double, Double)
Declaration
public virtual int GetPageNumberFromScreenPt(double x, double y)
Parameters
| Type |
Name |
Description |
| System.Double |
x |
|
| System.Double |
y |
|
Returns
| Type |
Description |
| System.Int32 |
|
GetPagePresentationMode()
Declaration
public virtual PagePresentationModes GetPagePresentationMode()
Returns
Declaration
public virtual PageViewModes GetPageRefViewMode()
Returns
GetPageViewMode()
Declaration
public virtual PageViewModes GetPageViewMode()
Returns
GetPostProcessedColor(PTColorPt)
Declaration
public virtual PTColorPt GetPostProcessedColor(PTColorPt color)
Parameters
Returns
GetScreenRectForAnnot(PTAnnot, Int32)
Declaration
public virtual PTPDFRect GetScreenRectForAnnot(PTAnnot annot, int page_num)
Parameters
| Type |
Name |
Description |
| PTAnnot |
annot |
|
| System.Int32 |
page_num |
|
Returns
GetSelection(Int32)
Declaration
public virtual PTSelection GetSelection(int pagenum)
Parameters
| Type |
Name |
Description |
| System.Int32 |
pagenum |
|
Returns
GetThumbAsync(Int32)
Declaration
public virtual void GetThumbAsync(int page_num)
Parameters
| Type |
Name |
Description |
| System.Int32 |
page_num |
|
Declaration
public virtual double GetVScrollPos()
Returns
| Type |
Description |
| System.Double |
|
GetZoom()
Declaration
public virtual double GetZoom()
Returns
| Type |
Description |
| System.Double |
|
GotoFirstPage()
Declaration
public virtual bool GotoFirstPage()
Returns
| Type |
Description |
| System.Boolean |
|
GotoLastPage()
Declaration
public virtual bool GotoLastPage()
Returns
| Type |
Description |
| System.Boolean |
|
GotoNextPage()
Declaration
public virtual bool GotoNextPage()
Returns
| Type |
Description |
| System.Boolean |
|
GotoPreviousPage()
Declaration
public virtual bool GotoPreviousPage()
Returns
| Type |
Description |
| System.Boolean |
|
HandleLongPress(UILongPressGestureRecognizer)
Declaration
public virtual void HandleLongPress(UILongPressGestureRecognizer gestureRecognizer)
Parameters
| Type |
Name |
Description |
| UIKit.UILongPressGestureRecognizer |
gestureRecognizer |
|
HandleTap(UITapGestureRecognizer)
Declaration
public virtual void HandleTap(UITapGestureRecognizer gestureRecognizer)
Parameters
| Type |
Name |
Description |
| UIKit.UITapGestureRecognizer |
gestureRecognizer |
|
HasSelectionOnPage(Int32)
Declaration
public virtual bool HasSelectionOnPage(int ipage)
Parameters
| Type |
Name |
Description |
| System.Int32 |
ipage |
|
Returns
| Type |
Description |
| System.Boolean |
|
HideAnnotation(PTAnnot)
Declaration
public virtual void HideAnnotation(PTAnnot annotation)
Parameters
| Type |
Name |
Description |
| PTAnnot |
annotation |
|
HideSelectedTextHighlights()
Declaration
public virtual void HideSelectedTextHighlights()
HighlightSelection(PTSelection, UIColor)
Declaration
public virtual void HighlightSelection(PTSelection selection, UIColor color)
Parameters
| Type |
Name |
Description |
| PTSelection |
selection |
|
| UIKit.UIColor |
color |
|
HighlightSelections(PTSelection[], UIColor)
Declaration
public virtual void HighlightSelections(PTSelection[] selections, UIColor color)
Parameters
| Type |
Name |
Description |
| PTSelection[] |
selections |
|
| UIKit.UIColor |
color |
|
IsFinishedRendering(Boolean)
Declaration
public virtual bool IsFinishedRendering(bool visible_region_only)
Parameters
| Type |
Name |
Description |
| System.Boolean |
visible_region_only |
|
Returns
| Type |
Description |
| System.Boolean |
|
KeyboardWillHide(NSNotification)
Declaration
public virtual void KeyboardWillHide(NSNotification notification)
Parameters
| Type |
Name |
Description |
| Foundation.NSNotification |
notification |
|
KeyboardWillShow(NSNotification, CGRect)
Declaration
public virtual void KeyboardWillShow(NSNotification notification, CGRect rect)
Parameters
| Type |
Name |
Description |
| Foundation.NSNotification |
notification |
|
| CoreGraphics.CGRect |
rect |
|
KeyboardWillShow(NSNotification, CGRect, NFloat)
Declaration
public virtual void KeyboardWillShow(NSNotification notification, CGRect rect, NFloat topEdge)
Parameters
| Type |
Name |
Description |
| Foundation.NSNotification |
notification |
|
| CoreGraphics.CGRect |
rect |
|
| System.Runtime.InteropServices.NFloat |
topEdge |
|
OpenUniversalDocumentWithConversion(PTDocumentConversion)
Declaration
public virtual void OpenUniversalDocumentWithConversion(PTDocumentConversion conversion)
Parameters
OpenUrlAsync(String, String)
Declaration
public virtual void OpenUrlAsync(string url, string password)
Parameters
| Type |
Name |
Description |
| System.String |
url |
|
| System.String |
password |
|
OpenUrlAsync(String, String, String)
Declaration
public virtual void OpenUrlAsync(string url, string password, string fullPath)
Parameters
| Type |
Name |
Description |
| System.String |
url |
|
| System.String |
password |
|
| System.String |
fullPath |
|
OpenUrlAsync(String, String, String, PTHTTPRequestOptions)
Declaration
public virtual void OpenUrlAsync(string url, string password, string fullPath, PTHTTPRequestOptions options)
Parameters
| Type |
Name |
Description |
| System.String |
url |
|
| System.String |
password |
|
| System.String |
fullPath |
|
| PTHTTPRequestOptions |
options |
|
PageBox()
Declaration
public virtual PTBox PageBox()
Returns
PageIsOnScreen(Int32)
Declaration
public virtual bool PageIsOnScreen(int pageNumber)
Parameters
| Type |
Name |
Description |
| System.Int32 |
pageNumber |
|
Returns
| Type |
Description |
| System.Boolean |
|
PDFRectPage2CGRectScreen(PTPDFRect, Int32)
Declaration
public virtual CGRect PDFRectPage2CGRectScreen(PTPDFRect pdfRect, int pageNumber)
Parameters
| Type |
Name |
Description |
| PTPDFRect |
pdfRect |
|
| System.Int32 |
pageNumber |
|
Returns
| Type |
Description |
| CoreGraphics.CGRect |
|
PurgeMemory()
Declaration
public virtual void PurgeMemory()
Redo()
Declaration
public virtual string Redo()
Returns
| Type |
Description |
| System.String |
|
RefreshAndUpdate(PTViewChangeCollection)
Declaration
public virtual void RefreshAndUpdate(PTViewChangeCollection view_change)
Parameters
RemoveFloatingView(UIView)
Declaration
public virtual void RemoveFloatingView(UIView view)
Parameters
| Type |
Name |
Description |
| UIKit.UIView |
view |
|
RemoveFloatingViews(UIView[])
Declaration
public virtual void RemoveFloatingViews(UIView[] views)
Parameters
| Type |
Name |
Description |
| UIKit.UIView[] |
views |
|
RequestRendering()
Declaration
public virtual void RequestRendering()
RevertAllChanges()
Declaration
public virtual void RevertAllChanges()
RotateClockwise()
Declaration
public virtual void RotateClockwise()
RotateCounterClockwise()
Declaration
public virtual void RotateCounterClockwise()
SelectAll()
Declaration
public virtual void SelectAll()
SelectWithHighlights(PTHighlights)
Declaration
public virtual bool SelectWithHighlights(PTHighlights highlights)
Parameters
Returns
| Type |
Description |
| System.Boolean |
|
SelectWithSelection(PTSelection)
Declaration
public virtual bool SelectWithSelection(PTSelection select)
Parameters
Returns
| Type |
Description |
| System.Boolean |
|
SelectX1(Double, Double, Double, Double)
Declaration
public virtual bool SelectX1(double x1, double y1, double x2, double y2)
Parameters
| Type |
Name |
Description |
| System.Double |
x1 |
|
| System.Double |
y1 |
|
| System.Double |
x2 |
|
| System.Double |
y2 |
|
Returns
| Type |
Description |
| System.Boolean |
|
SelectX1(Double, Double, Int32, Double, Double, Int32)
Declaration
public virtual bool SelectX1(double x1, double y1, int pageNumber1, double x2, double y2, int pageNumber2)
Parameters
| Type |
Name |
Description |
| System.Double |
x1 |
|
| System.Double |
y1 |
|
| System.Int32 |
pageNumber1 |
|
| System.Double |
x2 |
|
| System.Double |
y2 |
|
| System.Int32 |
pageNumber2 |
|
Returns
| Type |
Description |
| System.Boolean |
|
SetAntiAliasing(Boolean)
Declaration
public virtual void SetAntiAliasing(bool enabled)
Parameters
| Type |
Name |
Description |
| System.Boolean |
enabled |
|
SetBackgroundColor(Byte, Byte, Byte, Byte)
Declaration
public virtual void SetBackgroundColor(byte r, byte g, byte b, byte a)
Parameters
| Type |
Name |
Description |
| System.Byte |
r |
|
| System.Byte |
g |
|
| System.Byte |
b |
|
| System.Byte |
a |
|
SetCaching(Boolean)
Declaration
public virtual void SetCaching(bool enabled)
Parameters
| Type |
Name |
Description |
| System.Boolean |
enabled |
|
SetColorPostProcessColors(UIColor, UIColor)
Declaration
public virtual void SetColorPostProcessColors(UIColor white_color, UIColor black_color)
Parameters
| Type |
Name |
Description |
| UIKit.UIColor |
white_color |
|
| UIKit.UIColor |
black_color |
|
SetColorPostProcessMode(ColorPostProcessMode)
Declaration
public virtual void SetColorPostProcessMode(ColorPostProcessMode mode)
Parameters
SetCurrentPage(Int32)
Declaration
public virtual bool SetCurrentPage(int page_num)
Parameters
| Type |
Name |
Description |
| System.Int32 |
page_num |
|
Returns
| Type |
Description |
| System.Boolean |
|
SetDefaultPageColor(Byte, Byte, Byte)
Declaration
public virtual void SetDefaultPageColor(byte r, byte g, byte b)
Parameters
| Type |
Name |
Description |
| System.Byte |
r |
|
| System.Byte |
g |
|
| System.Byte |
b |
|
SetDevicePixelDensity(Double, Double)
Declaration
public virtual void SetDevicePixelDensity(double dpi, double scale_factor)
Parameters
| Type |
Name |
Description |
| System.Double |
dpi |
|
| System.Double |
scale_factor |
|
SetDoc(PTPDFDoc)
Declaration
public virtual void SetDoc(PTPDFDoc doc)
Parameters
SetDrawAnnotations(Boolean)
Declaration
public virtual void SetDrawAnnotations(bool render_annots)
Parameters
| Type |
Name |
Description |
| System.Boolean |
render_annots |
|
Declaration
public virtual void SetExtraVerticalContent(int points)
Parameters
| Type |
Name |
Description |
| System.Int32 |
points |
|
SetFieldHighlightColor(UIColor)
Declaration
public virtual void SetFieldHighlightColor(UIColor highlightColor)
Parameters
| Type |
Name |
Description |
| UIKit.UIColor |
highlightColor |
|
SetGamma(Double)
Declaration
public virtual void SetGamma(double exp)
Parameters
| Type |
Name |
Description |
| System.Double |
exp |
|
SetHighlightFields(Boolean)
Declaration
public virtual void SetHighlightFields(bool highlight_fields)
Parameters
| Type |
Name |
Description |
| System.Boolean |
highlight_fields |
|
SetHorizontalAlign(Int32)
Declaration
public virtual void SetHorizontalAlign(int align)
Parameters
| Type |
Name |
Description |
| System.Int32 |
align |
|
Declaration
public virtual void SetHScrollPos(double pos)
Parameters
| Type |
Name |
Description |
| System.Double |
pos |
|
Declaration
public virtual void SetHScrollPos(double pos, bool animated)
Parameters
| Type |
Name |
Description |
| System.Double |
pos |
|
| System.Boolean |
animated |
|
SetImageSmoothing(Boolean)
Declaration
public virtual void SetImageSmoothing(bool enabled)
Parameters
| Type |
Name |
Description |
| System.Boolean |
enabled |
|
Declaration
public virtual void SetMinimumTwoFingersToScrollEnabled(bool enabled)
Parameters
| Type |
Name |
Description |
| System.Boolean |
enabled |
|
SetOCGContext(PTContext)
Declaration
public virtual void SetOCGContext(PTContext ctx)
Parameters
SetOverprint(OverprintPreviewModes)
Declaration
public virtual void SetOverprint(OverprintPreviewModes op)
Parameters
SetPageBorderVisibility(Boolean)
Declaration
public virtual void SetPageBorderVisibility(bool border_visible)
Parameters
| Type |
Name |
Description |
| System.Boolean |
border_visible |
|
SetPageBox(PTBox)
Declaration
public virtual void SetPageBox(PTBox region)
Parameters
| Type |
Name |
Description |
| PTBox |
region |
|
SetPagePresentationMode(PagePresentationModes)
Declaration
public virtual void SetPagePresentationMode(PagePresentationModes mode)
Parameters
Declaration
public virtual void SetPageRefViewMode(PageViewModes mode)
Parameters
SetPageSpacing(Int32, Int32, Int32, Int32)
Declaration
public virtual void SetPageSpacing(int horiz_col_space, int vert_col_space, int horiz_pad, int vert_pad)
Parameters
| Type |
Name |
Description |
| System.Int32 |
horiz_col_space |
|
| System.Int32 |
vert_col_space |
|
| System.Int32 |
horiz_pad |
|
| System.Int32 |
vert_pad |
|
SetPageTransparencyGrid(Boolean)
Declaration
public virtual void SetPageTransparencyGrid(bool trans_grid_visible)
Parameters
| Type |
Name |
Description |
| System.Boolean |
trans_grid_visible |
|
SetPageViewMode(PageViewModes)
Declaration
public virtual void SetPageViewMode(PageViewModes mode)
Parameters
SetPathHinting(Boolean)
Declaration
public virtual void SetPathHinting(bool enabled)
Parameters
| Type |
Name |
Description |
| System.Boolean |
enabled |
|
SetProgressiveRendering(Boolean, Int32, Int32)
Declaration
public virtual void SetProgressiveRendering(bool progressive, int delayMilliseconds, int intervalMilliseconds)
Parameters
| Type |
Name |
Description |
| System.Boolean |
progressive |
|
| System.Int32 |
delayMilliseconds |
|
| System.Int32 |
intervalMilliseconds |
|
SetRenderedContentCacheSize(Int64)
Declaration
public virtual void SetRenderedContentCacheSize(long allowedMax)
Parameters
| Type |
Name |
Description |
| System.Int64 |
allowedMax |
|
SetRequiredFieldBorderColor(UIColor)
Declaration
public virtual void SetRequiredFieldBorderColor(UIColor borderColor)
Parameters
| Type |
Name |
Description |
| UIKit.UIColor |
borderColor |
|
SetRightToLeftLanguage(Boolean)
Declaration
public virtual void SetRightToLeftLanguage(bool isRightToLeft)
Parameters
| Type |
Name |
Description |
| System.Boolean |
isRightToLeft |
|
SetSignatureHighlightColor(UIColor)
Declaration
public virtual void SetSignatureHighlightColor(UIColor highlightColor)
Parameters
| Type |
Name |
Description |
| UIKit.UIColor |
highlightColor |
|
SetTextSelectionMode(TextSelectionModes)
Declaration
public virtual void SetTextSelectionMode(TextSelectionModes tm)
Parameters
SetThinLineAdjustment(Boolean, Boolean)
Declaration
public virtual void SetThinLineAdjustment(bool pixel_grid, bool stroke_adjust)
Parameters
| Type |
Name |
Description |
| System.Boolean |
pixel_grid |
|
| System.Boolean |
stroke_adjust |
|
SetupThumbnails(Boolean, Boolean, Boolean, Int32, UIntPtr, Double)
Declaration
public virtual void SetupThumbnails(bool use_embedded, bool generate_at_runtime, bool use_disk_cache, int thumb_max_side_length, UIntPtr max_abs_cache_size, double max_perc_cache_size)
Parameters
| Type |
Name |
Description |
| System.Boolean |
use_embedded |
|
| System.Boolean |
generate_at_runtime |
|
| System.Boolean |
use_disk_cache |
|
| System.Int32 |
thumb_max_side_length |
|
| System.UIntPtr |
max_abs_cache_size |
|
| System.Double |
max_perc_cache_size |
|
Declaration
public virtual void SetUrlExtraction(bool enabled)
Parameters
| Type |
Name |
Description |
| System.Boolean |
enabled |
|
SetVerticalAlign(Int32)
Declaration
public virtual void SetVerticalAlign(int align)
Parameters
| Type |
Name |
Description |
| System.Int32 |
align |
|
SetViewerCache(PTSDFDoc, UIntPtr, Boolean)
Declaration
public static void SetViewerCache(PTSDFDoc document, UIntPtr max_cache_size, bool on_disk)
Parameters
| Type |
Name |
Description |
| PTSDFDoc |
document |
|
| System.UIntPtr |
max_cache_size |
|
| System.Boolean |
on_disk |
|
Declaration
public virtual void SetVScrollPos(double pos)
Parameters
| Type |
Name |
Description |
| System.Double |
pos |
|
Declaration
public virtual void SetVScrollPos(double pos, bool animated)
Parameters
| Type |
Name |
Description |
| System.Double |
pos |
|
| System.Boolean |
animated |
|
SetZoom(Double)
Declaration
public virtual void SetZoom(double zoom)
Parameters
| Type |
Name |
Description |
| System.Double |
zoom |
|
SetZoomLimits(ZoomLimitModes, Double, Double)
Declaration
public virtual void SetZoomLimits(ZoomLimitModes mode, double min, double max)
Parameters
| Type |
Name |
Description |
| ZoomLimitModes |
mode |
|
| System.Double |
min |
|
| System.Double |
max |
|
SetZoomX(Int32, Int32, Double)
Declaration
public virtual void SetZoomX(int x, int y, double zoom)
Parameters
| Type |
Name |
Description |
| System.Int32 |
x |
|
| System.Int32 |
y |
|
| System.Double |
zoom |
|
ShowAnnotation(PTAnnot)
Declaration
public virtual void ShowAnnotation(PTAnnot annotation)
Parameters
| Type |
Name |
Description |
| PTAnnot |
annotation |
|
ShowRect(Int32, PTPDFRect)
Declaration
public virtual bool ShowRect(int page_num, PTPDFRect rect)
Parameters
| Type |
Name |
Description |
| System.Int32 |
page_num |
|
| PTPDFRect |
rect |
|
Returns
| Type |
Description |
| System.Boolean |
|
SmartZoomX(Double, Double, Boolean)
Declaration
public virtual bool SmartZoomX(double in_x, double in_y, bool animated)
Parameters
| Type |
Name |
Description |
| System.Double |
in_x |
|
| System.Double |
in_y |
|
| System.Boolean |
animated |
|
Returns
| Type |
Description |
| System.Boolean |
|
SnapToNearestInDoc(PTPDFPoint)
Declaration
public virtual PTPDFPoint SnapToNearestInDoc(PTPDFPoint screen_pt)
Parameters
Returns
SnapToNearestInDocFromPageSpace(Double, Double, Int32)
Declaration
public virtual PTPDFPoint SnapToNearestInDocFromPageSpace(double page_x, double page_y, int page_num)
Parameters
| Type |
Name |
Description |
| System.Double |
page_x |
|
| System.Double |
page_y |
|
| System.Int32 |
page_num |
|
Returns
TakeUndoSnapshot(String)
Declaration
public virtual void TakeUndoSnapshot(string meta_info)
Parameters
| Type |
Name |
Description |
| System.String |
meta_info |
|
Undo()
Declaration
public virtual string Undo()
Returns
| Type |
Description |
| System.String |
|
Update()
Declaration
public virtual void Update()
Update(Boolean)
Declaration
public virtual void Update(bool all)
Parameters
| Type |
Name |
Description |
| System.Boolean |
all |
|
UpdateOCGContext()
Declaration
public virtual void UpdateOCGContext()
UpdatePageLayout()
Declaration
public virtual void UpdatePageLayout()
UpdateWithAnnot(PTAnnot, Int32)
Declaration
public virtual void UpdateWithAnnot(PTAnnot annot, int page_num)
Parameters
| Type |
Name |
Description |
| PTAnnot |
annot |
|
| System.Int32 |
page_num |
|
UpdateWithField(PTField)
Declaration
public virtual void UpdateWithField(PTField field)
Parameters
| Type |
Name |
Description |
| PTField |
field |
|
UpdateWithRect(PTPDFRect)
Declaration
public virtual void UpdateWithRect(PTPDFRect update)
Parameters
ZoomToRect(CGRect, Boolean)
Declaration
public virtual void ZoomToRect(CGRect rect, bool animated)
Parameters
| Type |
Name |
Description |
| CoreGraphics.CGRect |
rect |
|
| System.Boolean |
animated |
|
Events
DownloadError
Declaration
public event EventHandler<DownloadErrorEventArgs> DownloadError
Event Type
DownloadEventType
Declaration
public event EventHandler<DownloadEventTypeEventArgs> DownloadEventType
Event Type
GotThumbAsync
Declaration
public event EventHandler<GotThumbAsyncEventArgs> GotThumbAsync
Event Type
JavascriptCallback
Declaration
public event EventHandler<JavascriptCallbackEventArgs> JavascriptCallback
Event Type
OnSetDoc
Declaration
public event EventHandler<OnSetDocEventArgs> OnSetDoc
Event Type
Declaration
public event EventHandler<OuterScrollViewDidEndDeceleratingEventArgs> OuterScrollViewDidEndDecelerating
Event Type
Declaration
public event EventHandler<OuterScrollViewDidEndDraggingEventArgs> OuterScrollViewDidEndDragging
Event Type
Declaration
public event EventHandler<OuterScrollViewDidEndScrollingAnimationEventArgs> OuterScrollViewDidEndScrollingAnimation
Event Type
Declaration
public event EventHandler<OuterScrollViewDidEndZoomingEventArgs> OuterScrollViewDidEndZooming
Event Type
Declaration
public event EventHandler<OuterScrollViewDidScrollEventArgs> OuterScrollViewDidScroll
Event Type
Declaration
public event EventHandler<OuterScrollViewDidScrollToTopEventArgs> OuterScrollViewDidScrollToTop
Event Type
Declaration
public event EventHandler<OuterScrollViewDidZoomEventArgs> OuterScrollViewDidZoom
Event Type
Declaration
public event EventHandler<OuterScrollViewWillBeginDeceleratingEventArgs> OuterScrollViewWillBeginDecelerating
Event Type
Declaration
public event EventHandler<OuterScrollViewWillBeginDraggingEventArgs> OuterScrollViewWillBeginDragging
Event Type
Declaration
public event EventHandler<OuterScrollViewWillBeginZoomingEventArgs> OuterScrollViewWillBeginZooming
Event Type
PageNumberChangedFrom
Declaration
public event EventHandler<PageNumberChangedFromEventArgs> PageNumberChangedFrom
Event Type
Declaration
public event EventHandler<PdfScrollViewDidEndDeceleratingEventArgs> PdfScrollViewDidEndDecelerating
Event Type
Declaration
public event EventHandler<PdfScrollViewDidEndDraggingEventArgs> PdfScrollViewDidEndDragging
Event Type
Declaration
public event EventHandler<PdfScrollViewDidEndScrollingAnimationEventArgs> PdfScrollViewDidEndScrollingAnimation
Event Type
Declaration
public event EventHandler<PdfScrollViewDidEndZoomingEventArgs> PdfScrollViewDidEndZooming
Event Type
Declaration
public event EventHandler<PdfScrollViewDidScrollEventArgs> PdfScrollViewDidScroll
Event Type
Declaration
public event EventHandler<PdfScrollViewDidScrollToTopEventArgs> PdfScrollViewDidScrollToTop
Event Type
Declaration
public event EventHandler<PdfScrollViewDidZoomEventArgs> PdfScrollViewDidZoom
Event Type
Declaration
public event EventHandler<PdfScrollViewDoubleTapEventArgs> PdfScrollViewDoubleTap
Event Type
Declaration
public event EventHandler<PdfScrollViewLongPressEventArgs> PdfScrollViewLongPress
Event Type
Declaration
public event EventHandler<PdfScrollViewTapEventArgs> PdfScrollViewTap
Event Type
Declaration
public event EventHandler<PdfScrollViewWillBeginDeceleratingEventArgs> PdfScrollViewWillBeginDecelerating
Event Type
Declaration
public event EventHandler<PdfScrollViewWillBeginDraggingEventArgs> PdfScrollViewWillBeginDragging
Event Type
Declaration
public event EventHandler<PdfScrollViewWillBeginZoomingEventArgs> PdfScrollViewWillBeginZooming
Event Type
PdfViewCtrlOnLayoutChanged
Declaration
public event EventHandler PdfViewCtrlOnLayoutChanged
Event Type
| Type |
Description |
| System.EventHandler |
|
PdfViewCtrlOnRenderFinished
Declaration
public event EventHandler PdfViewCtrlOnRenderFinished
Event Type
| Type |
Description |
| System.EventHandler |
|
PdfViewCtrlTextSearchStart
Declaration
public event EventHandler PdfViewCtrlTextSearchStart
Event Type
| Type |
Description |
| System.EventHandler |
|
TextSearchResult
Declaration
public event EventHandler<TextSearchResultEventArgs> TextSearchResult
Event Type
Implements
UIKit.IUIGestureRecognizerDelegate
ObjCRuntime.INativeObject
System.IDisposable
UIKit.IUIPrintInteractionControllerDelegate
UIKit.IUIScrollViewDelegate
Extension Methods