Version
IPDFDocument3 :: General document methods

See Also Example
Collapse All

This property gets or sets the version of the PDF document format.

Syntax

TxPDFVersion Version { get; set; }
Value
One of the TxPDFVersion values.

Remarks

The Version property is used for selecting a storage format for the new PDF document.

Example

Setting the PDF Document Version

Delphi
[copy to clipboard]
{ PDF object is supposed to be created }
PDF.BeginDoc;
PDF.Version := v14;
{ fill content here... }
PDF.EndDoc;
C/C++
[copy to clipboard]
// PDF object is supposed to be created
PDF->BeginDoc();
PDF->Version = v14;
// fill content here...
PDF->EndDoc();
C#
[copy to clipboard]
// PDF object is supposed to be created
PDF.BeginDoc();
PDF.Version = TxPDFVersion.v14;
// fill content here...
PDF.EndDoc();
Visual Basic
[copy to clipboard]
' PDF object is supposed to be created
PDF.BeginDoc
PDF.Version = 1 'v14
' fill content here...
PDF.EndDoc

See Also

Reference