Skip to content

PdfOptionalContentGroup Class

Definition

Namespace: Xfinium.Pdf.Graphics.OptionalContent

Represents an optional content group.

C#
public class PdfOptionalContentGroup : PdfOptionalContentBase

Inheritance: Object → PdfOptionalContentBase → PdfOptionalContentGroup

Remarks

An optional content group represents a collection of graphics that can be made visible or invisible dynamically by users of viewer applications.
The graphics belonging to an optional content group can be located anywhere in the document, on one or more pages and they need not be consecutive in drawing order

Constructor

Name Description
PdfOptionalContentGroup() Initializes a new PdfOptionalContentGroup object.

Properties

Name Description
DefaultState Gets or sets the default state of the optional content group.
ExportState Gets or sets the export state of this optional content group.
Locked Gets or sets a value indicating whether the layer is locked when the Pdf file is displayed in the viewer application.
Name Gets or sets the name of the optional content group.
PrintState Gets or sets the print state of this optional content group.
VisibilityState Gets or sets the visibility state of this optional content group.