StyleSheetList
StyleSheetList
概述
StyleSheetList 是 Aspose.Html FOSS 中用于 Python 的类。
实时有序样式表集合。
此类提供 2 个方法,用于在 Python 程序中处理 StyleSheetList 对象。可用的方法包括:__init__、item。在安装了 Aspose.Html FOSS for Python 包后,所有公共成员对任何 Python 应用程序均可访问。属性:length。
属性
| 名称 | 类型 | 访问 | 描述 |
|---|---|---|---|
length | int | 读取 | 当前列表中公开的样式表数量。 |
方法
| 签名 | 描述 |
|---|---|
__init__(provider: Callable[[], list["CSSStyleSheet"]]) | Calls init(provider) 在此 StyleSheetList 实例上。 |
item(index: int) → `“CSSStyleSheet | None”` |