OperatorRegistry

OperatorRegistry

Overview

OperatorRegistry is a class in Aspose.Page FOSS for Python.

Register and resolve PostScript operator implementations.

This class provides 3 methods for working with OperatorRegistry objects in Python programs. Available methods include: __init__, get, register. All public members are accessible to any Python application after installing the Aspose.Page FOSS for Python package.

Methods

SignatureDescription
__init__()
register(name: str, fn: Callable[[ExecutionContext], None], min_operands: int, max_operands: int | None)Register an operator implementation.
get(name: str)OperatorEntry | NoneLookup a registered operator entry by name.

See Also