Some test text!

menu
APIkeyboard_arrow_down

API for Flutter PDF Viewer

linkPdftronFlutter.version

Obtain PDFTron SDK version

Returns: String

linkPdftronFlutter.initialize(String)

Initializes PDFTron SDK

linkParams

linkkey

Your PDFTron license key

TypeRequiredDefault
Stringtrue

linkPdftronFlutter.openDocument(String)

Opens a document in the viewer

linkParams

linkpath

Path to the document

TypeRequiredDefault
Stringtrue

linkPdftronFlutter.openDocument(String, password: String, config: Config)

Opens a document in the viewer with options to remove buttons and disable tools

Optional parameters:

  • password: String, password to an encrypted document
  • config: Config, viewer configuration options
var disabledElements = [Buttons.shareButton, Buttons.searchButton];
var disabledTools = [Tools.annotationCreateLine, Tools.annotationCreateRectangle];
var config = Config();
config.disabledElements = disabledElements;
config.disabledTools = disabledTools;
PdftronFlutter.openDocument(_document, config: config);

Get the answers you need: Support

close

Free Trial

Get unlimited trial usage of PDFTron SDK to bring accurate, reliable, and fast document processing capabilities to any application or workflow.

Select a platform to get started with your free trial.

Unlimited usage. No email address required.