OptionalContentGroup

OptionalContentGroup

Overview

OptionalContentGroup is a class in Aspose.PDF FOSS for Python.

One optional content group (/OCG) of the document.

This class declares 1 method for OptionalContentGroup 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
object_number``ReadGets the object number.
name``ReadGets the name.
visible``ReadGets the visible.
intent``ReadGets the intent.

Methods

SignatureDescription
__init__(object_number: int, name: str, visible: bool, intent: tuple[str, ...])Calls init(object_number, name, visible, intent) on this OptionalContentGroup instance.