Passer au contenu principal

Documentation Index

Fetch the complete documentation index at: https://docs.abbyy.com/llms.txt

Use this file to discover all available pages before exploring further.

Cet objet donne accès aux paramètres de chiffrement d’un fichier PDF. Ces paramètres peuvent être utilisés lors de l’exportation du texte reconnu au format PDF. Ils sont définis via la propriété EncryptionInfo de l’objet PDFExportFeatures.
Les paramètres de chiffrement ne sont pas utilisés pour les fichiers PDF/A.
L’objet PDFEncryptionInfo vous permet d’effectuer les opérations suivantes :
  • définir les mots de passe propriétaire et utilisateur ;
  • définir le niveau de chiffrement ;
  • activer ou désactiver les options suivantes :
    • l’ajout ou la modification d’annotations textuelles et de champs de formulaire interactifs ;
    • l’assemblage du document : insertion, rotation ou suppression de pages, et création d’éléments de navigation tels que des signets ou des vignettes ;
    • la copie ou toute autre extraction de texte et d’éléments graphiques du document ;
    • le remplissage de formulaires (c’est-à-dire le renseignement de champs de formulaire interactifs existants) et la signature du document (ce qui revient à renseigner des champs de signature existants, un type de champ de formulaire interactif) ;
    • la modification du contenu du document ;
    • l’impression du document.

Propriétés

,read-only

Returns theobject.

Specifies whether the PDF file must be encrypted.

If this property is set to FALSE, the other properties will be ignored. This parameter can be set to TRUE only if theIPDFExportParams::PDFAComplianceModeis set to PCM_None.

This property is FALSE by default.

Spécifie l’algorithme de chiffrement PDF. Notez que la plupart des algorithmes de chiffrement ont des exigences minimales concernant la version PDF (). Consultez la description depour plus de détails.

This property is PDFEA_RC4 by default.

Sets the encryption key length for the RC4 algorithm. This property is used only when the EncryptionAlgorithm property is PDFEA_RC4 (default), othersise it is ignored.

Keys with length greater than 40 bit require PDF version (IPDFExportFeatures::PDFVersion) at least 1.4.

This property is PDFKL_40Bit by default.

Stores owner password. Opening the document with the correct owner password (assuming it is not the same as the user password) allows full (owner) access to the document. This unlimited access includes the ability to change the document’s passwords and access permissions.

The default value is an empty string.

Stores the user password. Opening the document with the correct user password (or opening a document that does not have a user password) allows additional operations to be performed according to the user access permissions specified in the document’s encryption dictionary.

The default value is an empty string.

Enables or disables modifying text annotations, filling out interactive form fields, and signing the document (which amounts to filling out existing signature fields, a type of interactive form field); together with the PermissionModifyContent property, also allows adding new text annotations and form fields.

The default value is FALSE.

Enables or disables assembling the document: inserting, rotating, deleting pages and creating navigation elements such as bookmarks and thumbnail images.

This property is ignored in PDF version 1.3 (see).

The default value is FALSE.

Enables or disables copying and otherwise extracting text and graphics from the document. However, extracting text and graphics for the purposes of accessibility to disabled users will still be possible, independently of this property value.

The default value is FALSE.

Enables or disables extracting text and graphics (to make them accessible to users with disabilities or for other purposes).

This property is ignored in PDF version 1.3 (see).

The default value is FALSE.

Enables or disables filling out existing interactive form fields and signing the document (which amounts to filling out existing signature fields, a type of interactive form field).

This property is ignored in PDF version 1.3 (see).

The default value is FALSE.

Enables or disables modifying the contents of the document.

The default value is FALSE.

Enables or disables printing the document.

The default value is FALSE.

Active ou désactive l’impression vers une représentation à partir de laquelle une copie numérique fidèle du contenu PDF pourrait être générée. Interdire ce type d’impression peut entraîner une dégradation de la qualité de sortie (fonctionnalité implémentée sous le nom “Print As Image” dans Acrobat).

The value of this property is ignored if:

  • the PermissionPrint property is set to FALSE.
  • PDF version is 1.3 (see).

The default value is FALSE.

PDFEncryptionInfo Diagramme d’objets

Exemples

Cet objet est utilisé dans les exemples de code suivants : CommandLineInterface (Windows et Linux)

Voir aussi

Réglage des paramètres d’exportation Utilisation des profils Utilisation des propriétés