ImportEMFFromFileOptionalEx
向量圖形、內容串流與選用內容群組
描述
以擴充的 EMF 匯入簽名匯入 EMF 檔案,並將產生的影像附加到選用內容群組
語法
Delphi
Function TPDFlib.ImportEMFFromFileOptionalEx(Const FileName: WideString; OptionalContentGroupID, FontOptions, GeneralOptions, Options: Integer): Integer;
參數
| FileName | EMF file to import |
|---|---|
| OptionalContentGroupID | 選用內容群組控制代碼 |
| FontOptions | EMF 匯入器使用的字型處理模式 |
| GeneralOptions | General EMF import mode |
| Options | Reserved extended import flags |
傳回值
傳回新的 ImageID;EMF 或選用內容群組無效時傳回 0
備註
匯入後,選取的影像即為該 EMF 影像,其影像 XObject 會帶有所選的 OCG 參照
另見
ImportEMFFromStreamOptionalEx, ImportEMFFromFileEx, SetImageOptional