NewOptionalContentGroupA

內容串流與選用內容群組

描述

結尾的 A 表示 ANSI(char)DLL 進入點;ActiveX/COM 介面只提供 Unicode 形式。行為與 NewOptionalContentGroup 完全相同,字串參數依目前 SetAnsiMode 的字碼頁解讀

建立新的選用內容群組。群組名稱會顯示在 Acrobat 6 以上版本的 Layers 頁籤

語法

Delphi

Function DLNewOptionalContentGroupA(InstanceID: Integer; GroupName: PAnsiChar): Integer;

DLL

int DLNewOptionalContentGroupA(int InstanceID, const char * GroupName);

參數

GroupName選用內容群組的名稱。此名稱會顯示在 PDF 檢視器的使用者介面上。

傳回值

0無法建立新的選用內容群組
Non-zero可當成 OptionalContentGroupID 參數、搭配其他選用內容群組函式使用的 ID