LEADTOOLS Forms (Leadtools.Forms.DocumentWriters assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
EncryptionMode Property
See Also 
Leadtools.Forms.DocumentWriters Namespace > PdfDocumentOptions Class : EncryptionMode Property



The EncryptionMode Property is available as an add-on to the LEADTOOLS Document and Medical Imaging toolkits.

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);
}

Property 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 PdfDocumentOptions.DocumentType is PdfDocumentType.PdfA.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

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