NewOptionalContentGroup

內容串流與選用內容群組

描述

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

語法

Delphi

Function TPDFlib.NewOptionalContentGroup(Const GroupName: WideString): Integer;

ActiveX

Function PDFlib::NewOptionalContentGroup(GroupName As String) As Long

DLL

int DLNewOptionalContentGroup(int InstanceID, const wchar_t * GroupName);

參數

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

傳回值

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