Debenu Quick PDF logo

SetOptionalContentGroupName

Content Streams and Optional Content Groups

Version history

This function was introduced in Quick PDF Library version 9.12.

Description

Sets the name of the specified optional content group.

Syntax

Delphi

function TDebenuPDFLibrary1511.SetOptionalContentGroupName(
  OptionalContentGroupID: Integer; NewGroupName: WideString): Integer;

ActiveX

Function DebenuPDFLibrary1511.PDFLibrary::SetOptionalContentGroupName(
  OptionalContentGroupID As Long, NewGroupName As String) As Long

DLL

int DPLSetOptionalContentGroupName(int InstanceID, int OptionalContentGroupID,
  wchar_t * NewGroupName)

Parameters

OptionalContentGroupID An ID returned by the NewOptionalContentGroup, GetOptionalContentGroupID or GetOptionalContentConfigOrderItemID functions
NewGroupName The new name for the OCG

Return values

0 The name could not be set
1 The OCG's name was set successfully

Copyright © 2014 Debenu. All rights reserved. AboutContactBlogNewsletterSupport