[]
        
(Showing Draft Content)

GrapeCity.Documents.Pdf.Layers.OptionalContentConfiguration

Class OptionalContentConfiguration

Namespace
GrapeCity.Documents.Pdf.Layers
Assembly
GcDocs.Pdf.dll

Represents the Optional Content Configuration PDF dictionary. Contains information that allows specifying different presentations of a document's optional content groups for use by PDF processors.

public class OptionalContentConfiguration : PdfDictWrapper, IPdfDict, IOwnedObject
Inheritance
object
OptionalContentConfiguration
Implements
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Extension Methods

Constructors

OptionalContentConfiguration()

Initializes a new instance of the OptionalContentConfiguration class.

public OptionalContentConfiguration()

Properties

BaseState

Gets or sets a value defining how the state of all optional content groups should be changed when this OptionalContentConfiguration is applied.

public PdfEnum<LayersBaseState> BaseState { get; set; }

Property Value

PdfEnum<LayersBaseState>

Doc

Gets the GcPdfDocument object that owns this object.

public GcPdfDocument Doc { get; }

Property Value

GcPdfDocument

HasOFF

Gets a value indicating whether the OFF list is not empty.

public bool HasOFF { get; }

Property Value

bool

HasON

Gets a value indicating whether the ON list is not empty.

public bool HasON { get; }

Property Value

bool

HasOrder

Gets a value indicating whether the Order list is not empty.

public bool HasOrder { get; }

Property Value

bool

HasUsageApplications

Gets a value indicating whether the UsageApplications collection is not empty.

public bool HasUsageApplications { get; }

Property Value

bool

ListMode

Gets or sets a value specifying how optional content groups in the Order list should be displayed to the user.

public PdfEnum<LayersListMode> ListMode { get; set; }

Property Value

PdfEnum<LayersListMode>

Locked

Gets an array of optional content groups that shall be locked when this configuration is applied.

public OptionalContentGroupList Locked { get; }

Property Value

OptionalContentGroupList

OFF

Gets an array of optional content groups whose state shall be set to OFF when this configuration is applied.

public OptionalContentGroupList OFF { get; }

Property Value

OptionalContentGroupList

ON

Gets an array of optional content groups whose state shall be set to ON when this configuration is applied.

public OptionalContentGroupList ON { get; }

Property Value

OptionalContentGroupList

OptionalContent

Gets the OptionalContentProperties object that owns this object.

public OptionalContentProperties OptionalContent { get; }

Property Value

OptionalContentProperties

Order

Gets the list of objects specifying the order of presentation of optional content groups in an interactive PDF processor’s user interface.

The list can contain PdfStrings, OptionalContentGroups, and nested lists containing PdfStrings or OptionalContentGroups.

public OptionalContentOrderCollection Order { get; }

Property Value

OptionalContentOrderCollection

UsageApplications

Gets a list of UsageApplication objects specifying which usage dictionary categories shall be consulted by PDF processors, when automatically setting the states of optional content groups based on external factors, such as the current system language or viewing magnification, and when they shall be applied.

public UsageApplicationList UsageApplications { get; }

Property Value

UsageApplicationList