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

NameTypeAccessDescription
namestrReadThe group’s /Name, as a viewer shows it in its layers panel.
object_numberintReadCOS object number of the group; its identity within the document.
intenttuple[str, ...]ReadThe group’s /Intent names (View unless stated otherwise).
visibleboolRead/WriteWhether the default configuration shows this layer.

Methods

SignatureDescription
__init__(state: Any, group: Any)Calls init(state, group) on this Layer instance.