Class PTPDFViewCtrlDelegate
Inheritance
System.Object
PTPDFViewCtrlDelegate
Implements
ObjCRuntime.INativeObject
System.IDisposable
Assembly: PDFNetiOS.dll
Syntax
public class PTPDFViewCtrlDelegate : NSObject, IPTPDFViewCtrlDelegate
Constructors
PTPDFViewCtrlDelegate()
Declaration
public PTPDFViewCtrlDelegate()
PTPDFViewCtrlDelegate(NSObjectFlag)
Declaration
protected PTPDFViewCtrlDelegate(NSObjectFlag t)
Parameters
Type |
Name |
Description |
Foundation.NSObjectFlag |
t |
|
PTPDFViewCtrlDelegate(IntPtr)
Declaration
protected PTPDFViewCtrlDelegate(IntPtr handle)
Parameters
Type |
Name |
Description |
System.IntPtr |
handle |
|
Methods
DownloadError(PTPDFViewCtrl, NSException)
Declaration
public virtual void DownloadError(PTPDFViewCtrl pdfViewCtrl, NSException exception)
Parameters
Type |
Name |
Description |
PTPDFViewCtrl |
pdfViewCtrl |
|
Foundation.NSException |
exception |
|
DownloadEventType(PTPDFViewCtrl, DownloadTypes, Int32, String)
Declaration
public virtual void DownloadEventType(PTPDFViewCtrl pdfViewCtrl, DownloadTypes type, int pageNum, string message)
Parameters
GotThumbAsync(PTPDFViewCtrl, Int32, UIImage)
Declaration
public virtual void GotThumbAsync(PTPDFViewCtrl pdfViewCtrl, int page_num, UIImage image)
Parameters
Type |
Name |
Description |
PTPDFViewCtrl |
pdfViewCtrl |
|
System.Int32 |
page_num |
|
UIKit.UIImage |
image |
|
JavascriptCallback(PTPDFViewCtrl, String, String)
Declaration
public virtual void JavascriptCallback(PTPDFViewCtrl pdfViewCtrl, string event_type, string json)
Parameters
Type |
Name |
Description |
PTPDFViewCtrl |
pdfViewCtrl |
|
System.String |
event_type |
|
System.String |
json |
|
OnSetDoc(PTPDFViewCtrl, PTPDFDoc)
Declaration
public virtual void OnSetDoc(PTPDFViewCtrl pdfViewCtrl, PTPDFDoc doc)
Parameters
Declaration
public virtual void OuterScrollViewDidEndDecelerating(PTPDFViewCtrl pdfViewCtrl, UIScrollView scrollView)
Parameters
Type |
Name |
Description |
PTPDFViewCtrl |
pdfViewCtrl |
|
UIKit.UIScrollView |
scrollView |
|
Declaration
public virtual void OuterScrollViewDidEndDragging(PTPDFViewCtrl pdfViewCtrl, UIScrollView scrollView, bool decelerate)
Parameters
Type |
Name |
Description |
PTPDFViewCtrl |
pdfViewCtrl |
|
UIKit.UIScrollView |
scrollView |
|
System.Boolean |
decelerate |
|
Declaration
public virtual void OuterScrollViewDidEndScrollingAnimation(PTPDFViewCtrl pdfViewCtrl, UIScrollView scrollView)
Parameters
Type |
Name |
Description |
PTPDFViewCtrl |
pdfViewCtrl |
|
UIKit.UIScrollView |
scrollView |
|
Declaration
public virtual void OuterScrollViewDidEndZooming(PTPDFViewCtrl pdfViewCtrl, UIScrollView scrollView, UIView view, float scale)
Parameters
Type |
Name |
Description |
PTPDFViewCtrl |
pdfViewCtrl |
|
UIKit.UIScrollView |
scrollView |
|
UIKit.UIView |
view |
|
System.Single |
scale |
|
Declaration
public virtual void OuterScrollViewDidScroll(PTPDFViewCtrl pdfViewCtrl, UIScrollView scrollView)
Parameters
Type |
Name |
Description |
PTPDFViewCtrl |
pdfViewCtrl |
|
UIKit.UIScrollView |
scrollView |
|
Declaration
public virtual void OuterScrollViewDidScrollToTop(PTPDFViewCtrl pdfViewCtrl, UIScrollView scrollView)
Parameters
Type |
Name |
Description |
PTPDFViewCtrl |
pdfViewCtrl |
|
UIKit.UIScrollView |
scrollView |
|
Declaration
public virtual void OuterScrollViewDidZoom(PTPDFViewCtrl pdfViewCtrl, UIScrollView scrollView)
Parameters
Type |
Name |
Description |
PTPDFViewCtrl |
pdfViewCtrl |
|
UIKit.UIScrollView |
scrollView |
|
Declaration
public virtual bool OuterScrollViewShouldScrollToTop(PTPDFViewCtrl pdfViewCtrl, UIScrollView scrollView)
Parameters
Type |
Name |
Description |
PTPDFViewCtrl |
pdfViewCtrl |
|
UIKit.UIScrollView |
scrollView |
|
Returns
Type |
Description |
System.Boolean |
|
Declaration
public virtual void OuterScrollViewWillBeginDecelerating(PTPDFViewCtrl pdfViewCtrl, UIScrollView scrollView)
Parameters
Type |
Name |
Description |
PTPDFViewCtrl |
pdfViewCtrl |
|
UIKit.UIScrollView |
scrollView |
|
Declaration
public virtual void OuterScrollViewWillBeginDragging(PTPDFViewCtrl pdfViewCtrl, UIScrollView scrollView)
Parameters
Type |
Name |
Description |
PTPDFViewCtrl |
pdfViewCtrl |
|
UIKit.UIScrollView |
scrollView |
|
Declaration
public virtual void OuterScrollViewWillBeginZooming(PTPDFViewCtrl pdfViewCtrl, UIScrollView scrollView, UIView view)
Parameters
Type |
Name |
Description |
PTPDFViewCtrl |
pdfViewCtrl |
|
UIKit.UIScrollView |
scrollView |
|
UIKit.UIView |
view |
|
PageNumberChangedFrom(PTPDFViewCtrl, Int32, Int32)
Declaration
public virtual void PageNumberChangedFrom(PTPDFViewCtrl pdfViewCtrl, int oldPageNumber, int newPageNumber)
Parameters
Type |
Name |
Description |
PTPDFViewCtrl |
pdfViewCtrl |
|
System.Int32 |
oldPageNumber |
|
System.Int32 |
newPageNumber |
|
Declaration
public virtual void PdfScrollViewDidEndDecelerating(PTPDFViewCtrl pdfViewCtrl, UIScrollView scrollView)
Parameters
Type |
Name |
Description |
PTPDFViewCtrl |
pdfViewCtrl |
|
UIKit.UIScrollView |
scrollView |
|
Declaration
public virtual void PdfScrollViewDidEndDragging(PTPDFViewCtrl pdfViewCtrl, UIScrollView scrollView, bool decelerate)
Parameters
Type |
Name |
Description |
PTPDFViewCtrl |
pdfViewCtrl |
|
UIKit.UIScrollView |
scrollView |
|
System.Boolean |
decelerate |
|
Declaration
public virtual void PdfScrollViewDidEndScrollingAnimation(PTPDFViewCtrl pdfViewCtrl, UIScrollView scrollView)
Parameters
Type |
Name |
Description |
PTPDFViewCtrl |
pdfViewCtrl |
|
UIKit.UIScrollView |
scrollView |
|
Declaration
public virtual void PdfScrollViewDidEndZooming(PTPDFViewCtrl pdfViewCtrl, UIScrollView scrollView, UIView view, float scale)
Parameters
Type |
Name |
Description |
PTPDFViewCtrl |
pdfViewCtrl |
|
UIKit.UIScrollView |
scrollView |
|
UIKit.UIView |
view |
|
System.Single |
scale |
|
Declaration
public virtual void PdfScrollViewDidScroll(PTPDFViewCtrl pdfViewCtrl, UIScrollView scrollView)
Parameters
Type |
Name |
Description |
PTPDFViewCtrl |
pdfViewCtrl |
|
UIKit.UIScrollView |
scrollView |
|
Declaration
public virtual void PdfScrollViewDidScrollToTop(PTPDFViewCtrl pdfViewCtrl, UIScrollView scrollView)
Parameters
Type |
Name |
Description |
PTPDFViewCtrl |
pdfViewCtrl |
|
UIKit.UIScrollView |
scrollView |
|
Declaration
public virtual void PdfScrollViewDidZoom(PTPDFViewCtrl pdfViewCtrl, UIScrollView scrollView)
Parameters
Type |
Name |
Description |
PTPDFViewCtrl |
pdfViewCtrl |
|
UIKit.UIScrollView |
scrollView |
|
Declaration
public virtual void PdfScrollViewDoubleTap(PTPDFViewCtrl pdfViewCtrl, UITapGestureRecognizer gestureRecognizer)
Parameters
Type |
Name |
Description |
PTPDFViewCtrl |
pdfViewCtrl |
|
UIKit.UITapGestureRecognizer |
gestureRecognizer |
|
Declaration
public virtual void PdfScrollViewLongPress(PTPDFViewCtrl pdfViewCtrl, UILongPressGestureRecognizer gestureRecognizer)
Parameters
Type |
Name |
Description |
PTPDFViewCtrl |
pdfViewCtrl |
|
UIKit.UILongPressGestureRecognizer |
gestureRecognizer |
|
Declaration
public virtual bool PdfScrollViewShouldScrollToTop(PTPDFViewCtrl pdfViewCtrl, UIScrollView scrollView)
Parameters
Type |
Name |
Description |
PTPDFViewCtrl |
pdfViewCtrl |
|
UIKit.UIScrollView |
scrollView |
|
Returns
Type |
Description |
System.Boolean |
|
Declaration
public virtual void PdfScrollViewTap(PTPDFViewCtrl pdfViewCtrl, UITapGestureRecognizer gestureRecognizer)
Parameters
Type |
Name |
Description |
PTPDFViewCtrl |
pdfViewCtrl |
|
UIKit.UITapGestureRecognizer |
gestureRecognizer |
|
Declaration
public virtual void PdfScrollViewWillBeginDecelerating(PTPDFViewCtrl pdfViewCtrl, UIScrollView scrollView)
Parameters
Type |
Name |
Description |
PTPDFViewCtrl |
pdfViewCtrl |
|
UIKit.UIScrollView |
scrollView |
|
Declaration
public virtual void PdfScrollViewWillBeginDragging(PTPDFViewCtrl pdfViewCtrl, UIScrollView scrollView)
Parameters
Type |
Name |
Description |
PTPDFViewCtrl |
pdfViewCtrl |
|
UIKit.UIScrollView |
scrollView |
|
Declaration
public virtual void PdfScrollViewWillBeginZooming(PTPDFViewCtrl pdfViewCtrl, UIScrollView scrollView, UIView view)
Parameters
Type |
Name |
Description |
PTPDFViewCtrl |
pdfViewCtrl |
|
UIKit.UIScrollView |
scrollView |
|
UIKit.UIView |
view |
|
PdfViewCtrlOnLayoutChanged(PTPDFViewCtrl)
Declaration
public virtual void PdfViewCtrlOnLayoutChanged(PTPDFViewCtrl pdfViewCtrl)
Parameters
PdfViewCtrlOnRenderFinished(PTPDFViewCtrl)
Declaration
public virtual void PdfViewCtrlOnRenderFinished(PTPDFViewCtrl pdfViewCtrl)
Parameters
PdfViewCtrlTextSearchStart(PTPDFViewCtrl)
Declaration
public virtual void PdfViewCtrlTextSearchStart(PTPDFViewCtrl pdfViewCtrl)
Parameters
TextSearchResult(PTPDFViewCtrl, PTSelection)
Declaration
public virtual void TextSearchResult(PTPDFViewCtrl pdfViewCtrl, PTSelection selection)
Parameters
Implements
ObjCRuntime.INativeObject
System.IDisposable