StyleSheetList

Overview

StyleSheetList is a class in Aspose.Html FOSS for Python.

Live ordered stylesheet collection.

This class provides 2 methods for working with StyleSheetList objects in Python programs. Available methods include: __init__, item. All public members are accessible to any Python application after installing the Aspose.Html FOSS for Python package. Properties: length.

Properties

NameTypeAccessDescription
lengthintReadNumber of stylesheets currently exposed by this list.

Methods

SignatureDescription
__init__(provider: Callable[[], list["CSSStyleSheet"]])Calls init(provider) on this StyleSheetList instance.
item(index: int)"CSSStyleSheet | None"Return stylesheet at index, or None when out of range.

See Also