**Inheritance:**
java.lang.Object, [com.aspose.imaging.fileformats.opendocument.OdObject](../../com.aspose.imaging.fileformats.opendocument/odobject), [com.aspose.imaging.fileformats.opendocument.objects.graphic.OdGraphicObject](../../com.aspose.imaging.fileformats.opendocument.objects.graphic/odgraphicobject), [com.aspose.imaging.fileformats.opendocument.objects.graphic.OdStyledObject](../../com.aspose.imaging.fileformats.opendocument.objects.graphic/odstyledobject)
```
public class OdTextMeasure extends OdStyledObject
```

文本测量
## 构造函数

| 构造函数 | 描述 |
| --- | --- |
| [OdTextMeasure(OdObject parent)](#OdTextMeasure-com.aspose.imaging.fileformats.opendocument.OdObject-) | 初始化 `OdTextMeasure` 类的新实例。 |
## 方法

| 方法 | 描述 |
| --- | --- |
| [getText()](#getText--) | 获取值。 |
| [setText(String value)](#setText-java.lang.String-) | 设置值。 |
| [getKind()](#getKind--) | 获取或设置类型。 |
| [setKind(int value)](#setKind-int-) | 获取或设置类型。 |
### OdTextMeasure(OdObject parent) {#OdTextMeasure-com.aspose.imaging.fileformats.opendocument.OdObject-}
```
public OdTextMeasure(OdObject parent)
```


初始化 `OdTextMeasure` 类的新实例。

**Parameters:**
| 参数 | 类型 | 描述 |
| --- | --- | --- |
| parent | [OdObject](../../com.aspose.imaging.fileformats.opendocument/odobject) | 父级。 |

### getText() {#getText--}
```
public final String getText()
```


获取值。

**Returns:**
java.lang.String - 值。
### setText(String value) {#setText-java.lang.String-}
```
public final void setText(String value)
```


设置值。

**Parameters:**
| 参数 | 类型 | 描述 |
| --- | --- | --- |
| 值 | java.lang.String | 值。 |

### getKind() {#getKind--}
```
public int getKind()
```


获取或设置类型。

**Returns:**
int - 类型。
### setKind(int value) {#setKind-int-}
```
public void setKind(int value)
```


获取或设置类型。

**Parameters:**
| 参数 | 类型 | 描述 |
| --- | --- | --- |
| 值 | int | 类型。 |

