Leadtools.Forms.DocumentWriters Requires Document/Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
EncryptionMode Property
See Also 
Leadtools.Forms.DocumentWriters Namespace > PdfDocumentOptions Class : EncryptionMode Property



Gets or sets a value that indicate the encryption mode used to create the PDF document.

Syntax

Visual Basic (Declaration) 
Public Property EncryptionMode As PdfDocumentEncryptionMode
Visual Basic (Usage)Copy Code
Dim instance As PdfDocumentOptions
Dim value As PdfDocumentEncryptionMode
 
instance.EncryptionMode = value
 
value = instance.EncryptionMode
C# 
public PdfDocumentEncryptionMode EncryptionMode {get; set;}
C++/CLI 
public:
property PdfDocumentEncryptionMode EncryptionMode {
   PdfDocumentEncryptionMode get();
   void set (PdfDocumentEncryptionMode value);
}

Return Value

An PdfDocumentEncryptionMode enumeration member that specify the encryption mode used to create the PDF document.

Example

For an example, refer to PdfDocumentOptions.

Remarks

PDF encryption mode along with the owner password and the different owner access right properties allow creating customized security level in the resulting PDF document. For more information, refer to Protected.

The EncryptionMode property is only used when the Protected property is set to true.

Note that EncryptionMode is not supported when DocumentType is PdfDocumentType.PdfA.

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also

Leadtools.Forms.DocumentWriters requires a Document or Medical toolkit license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features