Skip to main content

IPdfAdapterFactory Interface

Definition​

Assembly:Avalonia.Controls.PdfViewer
Package:Avalonia.Controls.PdfViewer

Factory for creating platform-specific PDF adapters.

public interface IPdfAdapterFactory

Methods​

NameDescription
CreateAdapterCreates a new adapter instance.

CreateAdapter Method​

Creates a new adapter instance.

public Avalonia.Controls.Pdf.Core.IPdfAdapter CreateAdapter()

Returns​

Avalonia.Controls.Pdf.Core.IPdfAdapter

Properties​

NameDescription
IsSupportedGets whether this factory can create adapters on the current platform.
PriorityGets the priority of this factory (higher = preferred).

IsSupported Property​

Gets whether this factory can create adapters on the current platform.

public bool IsSupported { get; set; }

Priority Property​

Gets the priority of this factory (higher = preferred).

public int Priority { get; set; }