FindOptionalContentGroupByName

Content Streams and Optional Content Groups

Description

Finds the first optional-content group whose display name exactly matches the supplied name

Syntax

Delphi

Function TPDFlib.FindOptionalContentGroupByName(Const GroupName: WideString): Integer;

Parameters

GroupNameOptional-content group display name to find

Return values

0No optional-content group with that name was found
non-zeroThe optional-content group handle

Remarks

Matching is exact and returns the first group with the requested name

See also

NewOptionalContentGroup, NewOptionalContentGroupEx, SetOptionalContentGroupVisibleByName