PdfSaveOptions.WriteEncrypted Property

Note: This API is now obsolete.

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#
[ObsoleteAttribute("This property is obsolete and will be removed in the next version of the library.")]
public bool WriteEncrypted { get; }
VB
<ObsoleteAttribute("This property is obsolete and will be removed in the next version of the library.")>
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