ImageGear for .NET User Guide > Using ImageGear for .NET > Using ImageGear.Formats.PDF Namespace > Working with PDF Layers > Layer Objects and Visibility |
The following objects are related to PDF Layers and responsible for the visibility.
Each layer has a name and a visibility state for the containers connected to the layer through a Dictionary. The visibility state can have one of two values - ON or OFF.
Each dictionary contains the array of layers and a Boolean property, which takes all the layers' states as input and applies the visibility policy to the layers' state values producing the Boolean result whether or not to display all the objects from the dictionary's container. The output can have one of two values - ON or OFF.
Each container is an arbitrary set of PDF elements or other containers. Each container is associated with a dictionary. The container and all its elements (including the other containers) are displayed when its dictionary's visibility policy Boolean property results with ON.
The following diagram shows the relationship between containers and the other PDF document objects: