Class PDFView

This is a PSPDFKit viewer to view documents.

Inherited Members
Namespace: PSPDFKit.Sdk
Assembly: Sdk.dll
Syntax
[XamlFilePath("PDFView.xaml")]
public class PDFView : ContentView, INotifyPropertyChanged, IEffectControlProvider, IToolTipElement, IContextFlyoutElement, IAnimatable, IPropertyMapperView, IHotReloadableView, IReplaceableView, IViewController, IVisualElementController, IElementController, IGestureController, IGestureRecognizers, ILayout, ILayoutController, IVisualTreeElement, IContentView, IView, IElement, ITransform, IPadding, IPDFView

Constructors

| Edit this page View Source

PDFView()

Initializes a new instance of the PDFView class.

Declaration
public PDFView()

Fields

| Edit this page View Source

AdvanceAccessScriptPathProperty

AdvanceAccessScriptPath dependency property.

Declaration
public static readonly BindableProperty AdvanceAccessScriptPathProperty
Field Value
Type Description
BindableProperty
| Edit this page View Source

CustomCSSStylesheetPathProperty

CustomCSSStylesheetPath dependency property.

Declaration
public static readonly BindableProperty CustomCSSStylesheetPathProperty
Field Value
Type Description
BindableProperty
| Edit this page View Source

InteractionModeProperty

Interaction mode dependency property.

Declaration
public static readonly BindableProperty InteractionModeProperty
Field Value
Type Description
BindableProperty
| Edit this page View Source

LicenseProperty

License dependency property.

Declaration
public static readonly BindableProperty LicenseProperty
Field Value
Type Description
BindableProperty
| Edit this page View Source

ShowToolbarProperty

Show toolbar dependency property.

Declaration
public static readonly BindableProperty ShowToolbarProperty
Field Value
Type Description
BindableProperty
| Edit this page View Source

SidebarModeProperty

Sidebar mode dependency property.

Declaration
public static readonly BindableProperty SidebarModeProperty
Field Value
Type Description
BindableProperty

Properties

| Edit this page View Source

AdvanceAccessScriptPath

Path of the JavaScript asset file that's used for advance access of JavaScript APIs.

Declaration
public string AdvanceAccessScriptPath { get; set; }
Property Value
Type Description
string
| Edit this page View Source

Controller

Declaration
public IController Controller { get; }
Property Value
Type Description
IController
| Edit this page View Source

CustomCSSStylesheetPath

Path of the Custom CSS stylesheet asset file that's used for advance access of JavaScript APIs.

Declaration
public string CustomCSSStylesheetPath { get; set; }
Property Value
Type Description
string
| Edit this page View Source

InteractionMode

Interaction mode of PSPDFKit Viewer.

Declaration
public InteractionMode? InteractionMode { get; set; }
Property Value
Type Description
InteractionMode?
| Edit this page View Source

License

PSPDFKit license.

Declaration
public string License { get; set; }
Property Value
Type Description
string
| Edit this page View Source

ShowToolbar

Show toolbar of PSPDFKit Viewer.

Declaration
public bool ShowToolbar { get; set; }
Property Value
Type Description
bool
| Edit this page View Source

SidebarMode

Sidebar mode of PSPDFKit Viewer.

Declaration
public SidebarMode? SidebarMode { get; set; }
Property Value
Type Description
SidebarMode?

Events

| Edit this page View Source

Initialized

Occurs when PDFView is initialized.

Note: All the PSPDFKit operations should be performed only after `PDFView` is initialized.

Declaration
public event EventHandler Initialized
Event Type
Type Description
EventHandler

Implements

INotifyPropertyChanged
IEffectControlProvider
IToolTipElement
IContextFlyoutElement
IAnimatable
IPropertyMapperView
IHotReloadableView
IReplaceableView
IViewController
IVisualElementController
IElementController
IGestureController
IGestureRecognizers
ILayout
ILayoutController
IVisualTreeElement
IContentView
IView
IElement
ITransform
IPadding
IPDFView