NewOptionalContentGroup

内容流和可选内容组

描述

创建新的可选内容组。组名称将显示在 Acrobat 6 或更高版本的图层选项卡中

语法

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