Skip to content

# PDFOptionalContentSet

Namespace: O2S.Components.PDF4NET.Graphics.OptionalContent

Defines an optional content membership dictionary.

    public class PDFOptionalContentSet : PDFOptionalContentBase

Inheritance Object → PDFOptionalContentBase → PDFOptionalContentSet

Remarks

An optional content sets lets you define more complex visibility policies for optional content.

## Constructors

### PDFOptionalContentSet()

Initializes a new PDFOptionalContentSet object.

    public PDFOptionalContentSet()

## Properties

### OptionalContentGroups

Gets the optional content groups included in this set.

    public PDFOptionalContentGroupCollection OptionalContentGroups { get; }

Property Value

PDFOptionalContentGroupCollection

### VisibilityPolicy

Gets the sets the visibility policy for the optional content associated with this set.

    public PDFOptionalContentVisibilityPolicy VisibilityPolicy { get; set; }

Property Value

PDFOptionalContentVisibilityPolicy
A PDFOptionalContentVisibilityPolicy value specifying the visibility policy.