Debenu Quick PDF logo

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 TDebenuPDFLibrary1511.NewOptionalContentGroup(
  GroupName: WideString): Integer;

ActiveX

Function DebenuPDFLibrary1511.PDFLibrary::NewOptionalContentGroup(
  GroupName As String) As Long

DLL

int DPLNewOptionalContentGroup(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

Copyright © 2014 Debenu. All rights reserved. AboutContactBlogNewsletterSupport