Table of Contents

Class OptionalContentGroupElement

Namespace
UglyToad.PdfPig.Content
Assembly
UglyToad.PdfPig.dll

An optional content group is a dictionary representing a collection of graphics that can be made visible or invisible dynamically by users of viewers applications.

public class OptionalContentGroupElement
Inheritance
OptionalContentGroupElement
Inherited Members

Properties

Intent

A single name or an array containing any combination of names.

Default value is 'View'.

public IReadOnlyList<string> Intent { get; }

Property Value

IReadOnlyList<string>

MarkedContent

public MarkedContentElement MarkedContent { get; }

Property Value

MarkedContentElement

Name

The name of the optional content group, suitable for presentation in a viewer application's user interface.

public string Name { get; }

Property Value

string

Type

The type of PDF object that this dictionary describes.

Must be OCG for an optional content group dictionary.

public string Type { get; }

Property Value

string

Usage

A usage dictionary describing the nature of the content controlled by the group.

public IReadOnlyDictionary<string, IToken> Usage { get; }

Property Value

IReadOnlyDictionary<string, IToken>

Methods

ToString()

public override string ToString()

Returns

string