5.19.3 CREATE

The CREATE command creates an empty document.

Syntax:

Command

Keyword

Value

Developer notes

CREATE

DOCUMENT

value

Required. PDF file.

CONTENT

value

Required. 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 is iText.

 

Example

CREATE DOCUMENT(/folder/file.pdf) CONTENT(report.xml)