NewOptionalContentGroup
Content Streams and Optional Content Groups
Description
Creates a new optional content group. The group name will appear in the Layers tab in Acrobat 6 or later.
Syntax
Delphi
function TPDFlib.NewOptionalContentGroup(Const GroupName: WideString): Integer;ActiveX
Function PDFlib::NewOptionalContentGroup(GroupName As String) As LongDLL
int DLNewOptionalContentGroup(int InstanceID, wchar_t * GroupName);Parameters
| GroupName | The name of the optional content group. This name is displayed in the PDF viewer user interface. |
|---|
Return values
| 0 | The new optional content group could not be created |
|---|---|
| Non-zero | An ID that can be used as the OptionalContentGroupID parameter with the other optional content group functions |