AbstractRange
AbstractRange
概述
AbstractRange 是 Aspose.Html FOSS 中用于 Python 的类。
只读边界点合约,由 range-family APIs 共享。
属性:collapsed、end_container、end_offset、start_container、start_offset。
属性
| 名称 | 类型 | 访问 | 描述 |
|---|---|---|---|
start_container | "Node" | 读取 | 包含范围起始位置的节点。 |
start_offset | int | 读取 | 在 start_container 中的偏移量。 |
end_container | "Node" | 读取 | 包含范围结束的节点。 |
end_offset | int | 读取 | 在 end_container 中的偏移量。 |
collapsed | bool | 读取 | 如果起始和结束边界点相同,则为 True。 |