TPDFlibEnterprise

版本

描述

TPDFlibEnterprise 是 Enterprise 版進入點。它位於 Enterprise 功能鏈末端並衍生自 TPDFlibEntPubSec,同時帶有全部 Small Business 方法與 Enterprise 方法。

需要 Enterprise 行為的程式碼必須建立此類別;在一般 TPDFlib 上呼叫相同方法會傳回 0、空字串或 False,並把 LastErrorCode 設為 PDFLIB_ERROR_ENTERPRISE_REQUIRED。

語法

Delphi

Uses PDFlibEnterprise;

Var
  PDF: TPDFlibEnterprise;
Begin
  PDF:= TPDFlibEnterprise.Create;
  Try
    ...
  Finally
    PDF.Free;
  End;
End;

欄位

NativeCapabilityEdition回報版本識別碼 enterprise 的覆寫
繼承的 Small Business 方法TPDFlibSmallBusiness 的每個方法仍然可用

備註

此類別宣告於 PDFlibEnterprise.pas。它繼承自 Public Security 功能類別,該類別接在 Enterprise 的合規、遮蔽、簽章驗證、長期驗證與撤銷鏈之後。

建立 TPDFlibEnterprise 實例也會啟用 Small Business 實作,因為 Enterprise 鏈衍生自 TPDFlibSmallBusiness。

另請參閱

TPDFlibSmallBusiness, EditionComparison, TPDFlib