PdfOptionalContentGroup Class
An optional content group (ISO 32000-2, 8.11.2): a layer, which viewers let the user show or hide. The content of a group is drawn between PdfContentBuilder.BeginOptionalContent and PdfContentBuilder.EndMarkedContent; an annotation belongs to one with PdfAnnotation.OptionalContent.
public sealed class PdfOptionalContentGroupProperties
| Name | Description |
|---|---|
| Dictionary | Gets the group dictionary. |
| Intents | Gets the intents of the group (/Intent): View, the default, Design, or names of applications. |
| IsVisible | Gets or sets a value indicating whether the group is visible when the document is opened: its state in the default configuration (PdfOptionalContentProperties.DefaultConfiguration). |
| Name | Gets or sets the name of the group (/Name), which viewers show in their list of layers. |
| Reference | Gets the reference to the group. |
Dictionary
PdfOptionalContentGroup.csIntents
PdfOptionalContentGroup.csGets the intents of the group (/Intent): View, the default, Design, or names of applications.
public IReadOnlyList<string> Intents { get; }Property value
IsVisible
PdfOptionalContentGroup.csGets or sets a value indicating whether the group is visible when the document is opened: its state in the default configuration (PdfOptionalContentProperties.DefaultConfiguration).
public bool IsVisible { get; set; }Property value
Reference
PdfOptionalContentGroup.csMethods
| Name | Description |
|---|---|
| Equals(object?) | Determines whether the specified object is equal to the current object. |
| GetHashCode() | Serves as the default hash function. |