SetEncryptMetadata
Ασφάλεια και υπογραφές
Περιγραφή
Controls whether XMP metadata streams are encrypted when Encrypt writes a Standard security dictionaryCall this function before
Encrypt. After the encryption dictionary has been built, the setting is locked so that encryption keys and the saved dictionary stay consistent
Σύνταξη
Delphi
Function TPDFlib.SetEncryptMetadata(EncryptMetadata: Integer): Integer;
ActiveX
Function PDFlib::SetEncryptMetadata(EncryptMetadata As Long) As Long
DLL
int DLSetEncryptMetadata(int InstanceID, int EncryptMetadata);
Παράμετροι
| EncryptMetadata | 0 writes /EncryptMetadata false and leaves metadata streams unencrypted. Any non-zero value keeps the default metadata encryption behavior |
|---|
Τιμές επιστροφής
| 0 | Η ρύθμιση δεν μπόρεσε να αλλάξει επειδή δεν έχει επιλεγεί έγγραφο ή το λεξικό κρυπτογράφησης έχει ήδη χτιστεί |
|---|---|
| 1 | Η ρύθμιση κρυπτογράφησης metadata ενημερώθηκε |