5.34.3 CREATE

The CREATE command creates an empty document.

Syntax:

Command

Keyword

Value

Developer notes for Command/Keyword/Value

CREATE

DOCUMENT

value

Mandatory. PDF file.

CONTENT

value

Mandatory. XML content file.

PASSWORD

value

Optional. User password.

MASTER

value

Optional. Master password

VERSION

1.2
1.3
1.4
1.5
1.6
1.7

Optional. PDF Version.
Default. iText default.

 

Example

 

CREATE DOCUMENT(report.pdf) CONTENT(report.xml)