ImportEMFFromFileOptionalEx

向量圖形、內容串流與選用內容群組

描述

以擴充的 EMF 匯入簽名匯入 EMF 檔案,並將產生的影像附加到選用內容群組

語法

Delphi

Function TPDFlib.ImportEMFFromFileOptionalEx(Const FileName: WideString; OptionalContentGroupID, FontOptions, GeneralOptions, Options: Integer): Integer;

參數

FileName要匯入的 EMF 檔案
OptionalContentGroupID選用內容群組控制代碼
FontOptionsEMF 匯入器使用的字型處理模式
GeneralOptions一般 EMF 匯入模式
Options保留的擴充匯入旗標

傳回值

傳回新的 ImageID;EMF 或選用內容群組無效時傳回 0

備註

匯入後,選取的影像即為該 EMF 影像,其影像 XObject 會帶有所選的 OCG 參照

另請參閱

ImportEMFFromStreamOptionalEx, ImportEMFFromFileEx, SetImageOptional