Gets a value indicating whether produced PDF file will be encrypted.

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

Syntax

C#
public bool WriteEncrypted { get; }
VB
Public ReadOnly Property WriteEncrypted As Boolean
	Get

Property Value

Type: Boolean
true if library will write PDF files encrypted; otherwise, false.

Remarks

This property is read-only and useful as indicator only. To make library write encrypted files please set UserPassword or OwnerPassword.

Value of this property is true if an user or an owner password was set for the document.

See Also