API reference / Common / Engine types / OptionalContent
Type Alias: OptionalContent
ts
type OptionalContent =
| {
group: OptionalContentGroupId;
}
| {
membership: OptionalContentMembership;
}
| {
expression: VisibilityExpression;
};A single optional-content scope: what an /OC sequence holds, or an image or form whose own /OC it is.
Scopes around one object AND together: the object is visible iff every one independently resolves to visible. This mirrors PDF's nested BDC scoping.