Gets or sets the PDF version to use while saving the document.

Namespace: BitMiracle.Docotic.Pdf
Assembly: BitMiracle.Docotic.Pdf (in BitMiracle.Docotic.Pdf.dll)

Syntax

C#
public PdfVersion Version { get; set; }
VB
Public Property Version As PdfVersion
	Get
	Set

Property Value

Type: PdfVersion
The PDF version to use while saving the document.

Exceptions

ExceptionCondition
ArgumentException The value is less than the current PDF version of the document.

Remarks

Default value: the value of PdfDocument.Version property.

The ArgumentException is thrown if this property is set to PDF version less than the current PDF version of the document.

See Also