[]
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
Initializes a new instance of the OptionalContentConfiguration class.
public OptionalContentConfiguration()
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; }
Gets the GcPdfDocument object that owns this object.
public GcPdfDocument Doc { get; }
Gets a value indicating whether the OFF list is not empty.
public bool HasOFF { get; }
Gets a value indicating whether the ON list is not empty.
public bool HasON { get; }
Gets a value indicating whether the Order list is not empty.
public bool HasOrder { get; }
Gets a value indicating whether the UsageApplications collection is not empty.
public bool HasUsageApplications { get; }
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; }
Gets an array of optional content groups that shall be locked when this configuration is applied.
public OptionalContentGroupList Locked { get; }
Gets an array of optional content groups whose state shall be set to OFF when this configuration is applied.
public OptionalContentGroupList OFF { get; }
Gets an array of optional content groups whose state shall be set to ON when this configuration is applied.
public OptionalContentGroupList ON { get; }
Gets the OptionalContentProperties object that owns this object.
public OptionalContentProperties OptionalContent { get; }
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; }
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; }