BlockConfig
概述
BlockConfig 是 Aspose.OMR FOSS 中用于 Python 的类。继承自:ParentConfig。
带边框/内边距的盒子;对其非块级子元素进行布局并处理溢出。
此类为 Python 程序中的 BlockConfig 对象声明了 1 个方法。可用的方法包括:__init__。在安装 Aspose.OMR 用于 Python 的 FOSS 包后,公共成员对任何 Python 应用程序均可访问。属性:BackgroundColor、BorderBottomStyle、BorderColor、BorderLeftStyle、BorderRightStyle、BorderSize,以及其他 11 项。
属性
| 名称 | 类型 | 访问 | 描述 |
|---|---|---|---|
BackgroundColor | Color | 读取 | 获取背景颜色。 |
BorderBottomStyle | `BorderStyle | None` | 读取 |
BorderLeftStyle | `BorderStyle | None` | 读取 |
BorderRightStyle | `BorderStyle | None` | 读取 |
BorderTopStyle | `BorderStyle | None` | 读取 |
BorderColor | Color | 读取 | 获取边框颜色。 |
BorderSize | int | 读取 | 获取边框大小。 |
BorderType | BorderType | 读取 | 获取边框类型。 |
Column | int | 读取 | 获取列。 |
Height | int | 读取 | 获取高度。 |
HorizontalPadding | int | 读取 | 获取水平内边距。 |
IsClipped | bool | 读取 | 获取是否已裁剪。 |
Overflow | OverflowAction | 读取 | 获取溢出。 |
VerticalPadding | int | 读取 | 获取垂直内边距。 |
Type | `` | 读取 | 获取类型。 |
Children | list[BaseConfig] | 读取 | 获取子项。 |
Name | str | 读取 | 获取名称。 |
方法
| 签名 | 描述 |
|---|---|
__init__() | Calls init 在此 BlockConfig 实例上。 |