EnumOptionalContentMembershipGroups

Content Streams and Optional Content Groups

Description

Enumerates the optional-content groups stored in the selected membership dictionary

Syntax

Function TPDFlib.EnumOptionalContentMembershipGroups(MembershipID: Integer; Out OptionalContentGroupIDs: Array Of Integer): Integer;

Return values

Returns the complete valid group count, including items beyond the supplied output capacity, or 0 for an invalid membership

Remarks

Call with an empty output array to obtain the required capacity, then call again to fill group handles normalized to the selected document

See also

NewOptionalContentMembership, EnumOptionalContentMembershipExpression