Some test text!

menu
search

Create XOD document

To create a XOD document.

// Instantiate a Document object.
const doc = new CoreControls.Document('YOUR_FILE_ID', 'xod');

// Determine the PartRetriever that should be used.
// Note that if your server doesn't support range request then you need to use PartRetrievers.StreamingPartRetriever
// If you are loading the XOD file as a Blob, you need to use PartRetrievers.LocalPartRetriever
const partRetriever = new CoreControls.PartRetrievers.HttpPartRetriever('YOUR_XOD_FILE_PATH');
const options = {};

doc.loadAsync(partRetriever, error => {
  // The XOD file has been created, you can call APIs of the Document class
}, options)

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.

PDFTron Receives USD$71 Million Growth Investment Led By Silversmith Capital Partners

Learn more
close