PdfSetOptionalContentGroupStateAction Class
Definition
Namespace: Xfinium.Pdf.Actions
Defines a set-OCG-state action.
Inheritance: Object → PdfAction → PdfSetOptionalContentGroupStateAction
Remarks
A set-OCG-state action sets the state of one or more optional content groups. Use the AddState and AddOptionalContentGroup methods to build the sequence of states for activating, deactivating and toggling the optional content groups.
Constructor
| Name | Description |
|---|---|
| PdfSetOptionalContentGroupStateAction() | Initializes a new PdfSetOptionalContentGroupStateAction object. |
Properties
| Name | Description |
|---|---|
| Actions | Gets or sets the sequence of actions to be performed after this action. (inherited from PdfAction) |
| CosAction | Gets the cos action object. (inherited from PdfAction) |
| Type | Gets the type of this action. (inherited from PdfAction) |
Methods
| Name | Description |
|---|---|
| AddOptionalContentGroup | Adds a new optional content group to this action. |
| AddState | Adds a new state to this action. |