GetEncryptMetadata

安全與簽章

描述

傳回所選文件使用 Standard 安全性時是否加密 XMP 中繼資料串流

新建文件的預設值為 1。載入的加密文件則反映其 /EncryptMetadata 項目;該項目不存在時,PDF 檢視器視為中繼資料加密已啟用

語法

Delphi

Function TPDFlib.GetEncryptMetadata: Integer;

ActiveX

Function PDFlib::GetEncryptMetadata() As Long

DLL

int DLGetEncryptMetadata(int InstanceID);

傳回值

0文件以 Standard 安全性儲存時,中繼資料串流不加密
1文件以 Standard 安全性儲存時,中繼資料串流會加密

備註

若要變更寫入端設定,請在 SetEncryptMetadata 之後、Encrypt 之前呼叫