EmfSmallTextOut 类
内容
[
隐藏
]Summary: The EMR_SMALLTEXTOUT record outputs a string.
Module: aspose.imaging.fileformats.emf.emf.records
Full Name: aspose.imaging.fileformats.emf.emf.records.EmfSmallTextOut
Inheritance: EmfDrawingRecordType
Constructors
| Name | 描述 |
|---|---|
| EmfSmallTextOut(source) | 初始化一个新的 EmfSmallTextOut 类的实例。 |
Properties
| Name | Type | Access | 描述 |
|---|---|---|---|
| bounds | Rectangle | r/w | 获取或设置一个可选的、128 位 WMF RectL 对象([MS-WMF] 第 2.2.2.19 节),该对象 指定设备单位中的边界矩形。 |
| c_chars | int | r/w | 获取或设置一个 32 位无符号整数,指定字符串中 16 位字符的数量 。该字符串未以空字符结尾。 |
| ex_scale | float | r/w | 获取或设置一个 32 位浮点值,指定文本在 x 方向的缩放比例。 |
| ey_scale | float | r/w | 获取或设置一个 32 位浮点值,指定文本在 y 方向的缩放比例。 |
| fu_options | EmfExtTextOutOptions | r/w | 获取或设置一个 32 位无符号整数,指定要使用的文本输出选项。这些 选项由 ExtTextOutOptions 枚举(第 2.1.11 节)中的一个或多个值组合而成。 |
| graphics_mode | EmfGraphicsMode | r/w | 获取或设置一个 32 位无符号整数,指定图形模式,来源于 GraphicsMode 枚举(第 2.1.16 节)。 |
| size | int | r/w | 获取或设置记录的大小 |
| text_string | string | r/w | 获取或设置一个可变长度字符串,包含要绘制的文本字符串,使用 8 位或 16 位字符码, 根据 fuOptions 字段的值。 |
| type | EmfRecordType | r/w | 获取或设置类型。 |
| x | int | r/w | 获取或设置一个 32 位有符号整数,指定放置字符串的 x 坐标。 |
| y | int | r/w | 获取或设置一个 32 位有符号整数,指定放置字符串的 y 坐标。 |
Methods
| Name | 描述 |
|---|---|
| create_from_record(source) | 初始化 EmfRecord 类的新实例。 |
| create_from_type(type) | 初始化 EmfRecord 类的新实例。 |
Constructor: EmfSmallTextOut(source)
EmfSmallTextOut(source)
初始化一个新的 EmfSmallTextOut 类的实例。
Parameters:
| 参数 | Type | Description |
|---|---|---|
| source | EmfRecord | 来源。 |
Method: create_from_record(source) [static]
create_from_record(source)
初始化 EmfRecord 类的新实例。
Parameters:
| 参数 | Type | Description |
|---|---|---|
| source | EmfRecord | 来源。 |
Returns
| Type | Description |
|---|---|
| EmfRecord |
Method: create_from_type(type) [static]
create_from_type(type)
初始化 EmfRecord 类的新实例。
Parameters:
| 参数 | Type | Description |
|---|---|---|
| type | EmfRecordType | 记录类型。 |
Returns
| Type | Description |
|---|---|
| EmfRecord |