Share via


IPdfViewDelegate Interface

Definition

Delegate object for PdfView objects, allowing the developer to respond to navigation, printing, and linking events.

[Foundation.Protocol(Name="PDFViewDelegate", WrapperType=typeof(PdfKit.PdfViewDelegateWrapper))]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="WillClickOnLink", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(PdfKit.PdfView), typeof(Foundation.NSUrl) }, Selector="PDFViewWillClickOnLink:withURL:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="PerformFind", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(PdfKit.PdfView) }, Selector="PDFViewPerformFind:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="PerformGoToPage", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(PdfKit.PdfView) }, Selector="PDFViewPerformGoToPage:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="OpenPdf", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(PdfKit.PdfView), typeof(PdfKit.PdfActionRemoteGoTo) }, Selector="PDFViewOpenPDF:forRemoteGoToAction:")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="PDFViewParentViewController", IsProperty=true, IsRequired=false, IsStatic=false, Name="ParentViewController", PropertyType=typeof(UIKit.UIViewController), Selector="PDFViewParentViewController")]
public interface IPdfViewDelegate : IDisposable, ObjCRuntime.INativeObject
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="WillClickOnLink", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(PdfKit.PdfView), typeof(Foundation.NSUrl) }, Selector="PDFViewWillClickOnLink:withURL:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="PerformFind", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(PdfKit.PdfView) }, Selector="PDFViewPerformFind:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="PerformGoToPage", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(PdfKit.PdfView) }, Selector="PDFViewPerformGoToPage:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="OpenPdf", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(PdfKit.PdfView), typeof(PdfKit.PdfActionRemoteGoTo) }, Selector="PDFViewOpenPDF:forRemoteGoToAction:")]
[Foundation.Protocol(FormalSince="10.12", Name="PDFViewDelegate", WrapperType=typeof(PdfKit.PdfViewDelegateWrapper))]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="WillChangeScaleFactor", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(PdfKit.PdfView), typeof(System.Runtime.InteropServices.NFloat) }, ReturnType=typeof(System.Runtime.InteropServices.NFloat), Selector="PDFViewWillChangeScaleFactor:toScale:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="TitleOfPrintJob", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(PdfKit.PdfView) }, ReturnType=typeof(System.String), Selector="PDFViewPrintJobTitle:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="PerformPrint", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(PdfKit.PdfView) }, Selector="PDFViewPerformPrint:")]
public interface IPdfViewDelegate : IDisposable, ObjCRuntime.INativeObject
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="WillClickOnLink", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(PdfKit.PdfView), typeof(Foundation.NSUrl) }, Selector="PDFViewWillClickOnLink:withURL:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="PerformFind", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(PdfKit.PdfView) }, Selector="PDFViewPerformFind:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="PerformGoToPage", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(PdfKit.PdfView) }, Selector="PDFViewPerformGoToPage:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="OpenPdf", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(PdfKit.PdfView), typeof(PdfKit.PdfActionRemoteGoTo) }, Selector="PDFViewOpenPDF:forRemoteGoToAction:")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="PDFViewParentViewController", IsProperty=true, IsRequired=false, IsStatic=false, Name="ParentViewController", PropertyType=typeof(UIKit.UIViewController), Selector="PDFViewParentViewController")]
[Foundation.Protocol(FormalSince="10.12", Name="PDFViewDelegate", WrapperType=typeof(PdfKit.PdfViewDelegateWrapper))]
public interface IPdfViewDelegate : IDisposable, ObjCRuntime.INativeObject
[<Foundation.Protocol(Name="PDFViewDelegate", WrapperType=typeof(PdfKit.PdfViewDelegateWrapper))>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="WillClickOnLink", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(PdfKit.PdfView), typeof(Foundation.NSUrl) }, Selector="PDFViewWillClickOnLink:withURL:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="PerformFind", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(PdfKit.PdfView) }, Selector="PDFViewPerformFind:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="PerformGoToPage", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(PdfKit.PdfView) }, Selector="PDFViewPerformGoToPage:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="OpenPdf", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(PdfKit.PdfView), typeof(PdfKit.PdfActionRemoteGoTo) }, Selector="PDFViewOpenPDF:forRemoteGoToAction:")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="PDFViewParentViewController", IsProperty=true, IsRequired=false, IsStatic=false, Name="ParentViewController", PropertyType=typeof(UIKit.UIViewController), Selector="PDFViewParentViewController")>]
type IPdfViewDelegate = interface
    interface INativeObject
    interface IDisposable
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="WillClickOnLink", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(PdfKit.PdfView), typeof(Foundation.NSUrl) }, Selector="PDFViewWillClickOnLink:withURL:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="PerformFind", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(PdfKit.PdfView) }, Selector="PDFViewPerformFind:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="PerformGoToPage", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(PdfKit.PdfView) }, Selector="PDFViewPerformGoToPage:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="OpenPdf", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(PdfKit.PdfView), typeof(PdfKit.PdfActionRemoteGoTo) }, Selector="PDFViewOpenPDF:forRemoteGoToAction:")>]
[<Foundation.Protocol(FormalSince="10.12", Name="PDFViewDelegate", WrapperType=typeof(PdfKit.PdfViewDelegateWrapper))>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="WillChangeScaleFactor", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(PdfKit.PdfView), typeof(System.Runtime.InteropServices.NFloat) }, ReturnType=typeof(System.Runtime.InteropServices.NFloat), Selector="PDFViewWillChangeScaleFactor:toScale:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="TitleOfPrintJob", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(PdfKit.PdfView) }, ReturnType=typeof(System.String), Selector="PDFViewPrintJobTitle:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="PerformPrint", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(PdfKit.PdfView) }, Selector="PDFViewPerformPrint:")>]
type IPdfViewDelegate = interface
    interface INativeObject
    interface IDisposable
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="WillClickOnLink", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(PdfKit.PdfView), typeof(Foundation.NSUrl) }, Selector="PDFViewWillClickOnLink:withURL:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="PerformFind", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(PdfKit.PdfView) }, Selector="PDFViewPerformFind:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="PerformGoToPage", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(PdfKit.PdfView) }, Selector="PDFViewPerformGoToPage:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="OpenPdf", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(PdfKit.PdfView), typeof(PdfKit.PdfActionRemoteGoTo) }, Selector="PDFViewOpenPDF:forRemoteGoToAction:")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="PDFViewParentViewController", IsProperty=true, IsRequired=false, IsStatic=false, Name="ParentViewController", PropertyType=typeof(UIKit.UIViewController), Selector="PDFViewParentViewController")>]
[<Foundation.Protocol(FormalSince="10.12", Name="PDFViewDelegate", WrapperType=typeof(PdfKit.PdfViewDelegateWrapper))>]
type IPdfViewDelegate = interface
    interface INativeObject
    interface IDisposable
Derived
Attributes
Implements

Properties

Name Description
Handle

Handle (pointer) to the unmanaged object representation.

(Inherited from INativeObject)
ParentViewController

Methods

Name Description
OpenPdf(PdfView, PdfActionRemoteGoTo)
PerformFind(PdfView)
PerformGoToPage(PdfView)
PerformPrint(PdfView)
TitleOfPrintJob(PdfView)
WillChangeScaleFactor(PdfView, NFloat)
WillClickOnLink(PdfView, NSUrl)

Extension Methods

Name Description
GetHandle(INativeObject)
GetNonNullHandle(INativeObject, String)
GetParentViewController(IPdfViewDelegate)
OpenPdf(IPdfViewDelegate, PdfView, PdfActionRemoteGoTo)
PerformFind(IPdfViewDelegate, PdfView)
PerformGoToPage(IPdfViewDelegate, PdfView)
PerformPrint(IPdfViewDelegate, PdfView)
TitleOfPrintJob(IPdfViewDelegate, PdfView)
WillChangeScaleFactor(IPdfViewDelegate, PdfView, NFloat)
WillClickOnLink(IPdfViewDelegate, PdfView, NSUrl)

Applies to