GetOptionalContentGroupID
Content Streams and Optional Content Groups
Description
Returns the ID of the optional content group with the specified index.
Syntax
Delphi
function TPDFlib.GetOptionalContentGroupID(Index: Integer): Integer;ActiveX
Function PDFlib::GetOptionalContentGroupID(Index As Long) As LongDLL
int DLGetOptionalContentGroupID(int InstanceID, int Index);Parameters
| Index | The index of the optional content group. The first group has an index of 1. Use the OptionalContentGroupCount function to determine the number of optional content groups in the document. |
|---|
Return values
| 0 | The Index parameter was out of range |
|---|