Importing data into PDF Documents

Introduction

This example allows you to import data from a variety of file formats into a PDF Document. The API has the following properties

API Information

For all these example we have used the sample files test.xml, test.fdf, test.xfdf

Importing data from XML Files

API Type Description
/pdf/{name}/import/xml GET GetImportFieldsFromXmlInStorage

cURL Example

SDK Example

Importing data from XML Files in Request

API Type Description
/pdf/{name}/import/xml POST PostImportFieldsFromXml

cURL Example

Importing data from XML Files on Storage

API Type Description
/pdf/{name}/import/xml PUT PutImportFieldsFromXmlInStorage

cURL Example

SDK Example

Importing data from FDF Files

API Type Description
/pdf/{name}/import/fdf GET GetImportFieldsFromXfdfInStorage

cURL Example

SDK Example

Importing data from FDF Files in Request

API Type Description
/pdf/{name}/import/fdf POST PostImportFieldsFromFdf

cURL Example

SDK Example

Importing data from FDF Files on Storage

API Type Description
/pdf/{name}/import/fdf PUT PutImportFieldsFromFdfInStorage

cURL Example

SDK Example

Importing data from XFDF Files

API Type Description
/pdf/{name}/import/fdf GET GetImportFieldsFromXfdfInStorage

cURL Example

SDK Example

Importing data from XFDF Files in Request

API Type Description
/pdf/{name}/import/Xfdf POST PostImportFieldsFromXfdf

cURL Example

SDK Example

Importing data from XFDF Files on Storage

API Type Description
/pdf/{name}/import/Xfdf POST PostImportFieldsFromXfdf

cURL Example

SDK Example

SDK Source

Using an SDK (API client) is the quickest way for a developer to speed up the development. An SDK takes care of a lot of low-level details of making requests and handling responses and lets you focus on writing code specific to your particular project. Checkout our GitHub repository for a complete list of Aspose.PDF SDKs along with working examples, to get you started in no time.