Layer
Overview
Layer is a class in Aspose.PDF FOSS for Python.
One optional content group, and whether it is currently shown.
This class declares 1 method for Layer objects in Python programs.
Available methods include: __init__.
All public members are accessible to any Python application after installing the Aspose.PDF FOSS for Python package.
Properties: intent, name, object_number, visible.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
name | str | Read | The group’s /Name, as a viewer shows it in its layers panel. |
object_number | int | Read | COS object number of the group; its identity within the document. |
intent | tuple[str, ...] | Read | The group’s /Intent names (View unless stated otherwise). |
visible | bool | Read/Write | Whether the default configuration shows this layer. |
Methods
| Signature | Description |
|---|---|
__init__(state: Any, group: Any) | Calls init(state, group) on this Layer instance. |