OptionalContentMembershipDict Class Documentation
classOptionalContentMembershipDict : SystemIDisposableNamespace:Datalogics::PDFL
- Inherits from:
SystemIDisposable
Detailed Description
Attaches content to one or more optional content groups.
Form, container, and annotation objects can be associated with one or more optional content groups. By associating them with an optional content group, they become part of that 'layer', and the user can control the visibility of the content.
Note that by placing other element objects in a container, they can also be associated with an optional content group.
An OptionalContentMembershipDict connects content to the OptionalContentGroup; it contains a list of OptionalContentGroups, and rules for determining visibility when the OptionalContentGroups have conflicting on/off states in the active OptionalContentContext.
An OptionalContentMembershipDict cannot be changed once created; you must create a new OptionalContentMembershipDict and change the objects to point to it.
Referenced by
Constructor & Destructor Documentation
OptionalContentMembershipDict
OptionalContentMembershipDict(OptionalContentMembershipDictrhs, InternalConstructsignifier)Parameters
signifier: InternalConstruct
OptionalContentMembershipDict
OptionalContentMembershipDict(Documentdoc, System.Collections.Generic.IList< OptionalContentGroup >ocgs, VisibilityPolicyvp)Parameters
doc: DocumentThe document that the new OptionalContentMembershipDict will belong to.
ocgs: System.Collections.Generic.IList< OptionalContentGroup >The list of OptionalContentGroups this MembershipDict refers to.
vp: VisibilityPolicyThe VisibilityPolicy of this MembershipDict.
Create a new OptionalContentMembershipDict.
OptionalContentMembershipDict
OptionalContentMembershipDict(Documentdoc, System.Collections.Generic.IList< OptionalContentGroup >ocgs, VisibilityPolicyvp, PDFArrayvisibilityExpression)Parameters
doc: DocumentThe document that the new OptionalContentMembershipDict will belong to.
ocgs: System.Collections.Generic.IList< OptionalContentGroup >The list of OptionalContentGroups this MembershipDict refers to.
vp: VisibilityPolicyThe VisibilityPolicy of this MembershipDict.
visibilityExpression: PDFArrayThe VisibilityExpression of this MembershipDict.
Create a new OptionalContentMembershipDict.
~OptionalContentMembershipDict
~OptionalContentMembershipDict()Property Documentation
OptionalContentGroups
System.Collections.Generic.IList< OptionalContentGroup >OptionalContentGroups[get]VisibilityExpression
PDFArrayVisibilityExpression[get]VisibilityPolicy
VisibilityPolicyVisibilityPolicy[get]Member Function Documentation
ConstructorRetrieve
static OptionalContentMembershipDictConstructorRetrieve(System.IntPtrignored)Parameters
ignored: System.IntPtr
Returns:
OptionalContentMembershipDictDispose
voidDispose()Returns:
voidDisposeChildren
voidDisposeChildren()Returns:
voidEquals
override boolEquals(objectobj)Parameters
obj: object
Returns:
override boolSameTypeEquals
boolSameTypeEquals(OptionalContentMembershipDictarg0)Parameters
Returns:
boolToString
override stringToString()Returns:
override string