**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
```

The text measure
## Constructors

| Constructor | Description |
| --- | --- |
| [OdTextMeasure(OdObject parent)](#OdTextMeasure-com.aspose.imaging.fileformats.opendocument.OdObject-) | Initializes a new instance of the `OdTextMeasure` class. |
## Methods

| Method | Description |
| --- | --- |
| [getText()](#getText--) | Gets the value. |
| [setText(String value)](#setText-java.lang.String-) | Sets the value. |
| [getKind()](#getKind--) | Gets or sets the kind. |
| [setKind(int value)](#setKind-int-) | Gets or sets the kind. |
### OdTextMeasure(OdObject parent) {#OdTextMeasure-com.aspose.imaging.fileformats.opendocument.OdObject-}
```
public OdTextMeasure(OdObject parent)
```


Initializes a new instance of the `OdTextMeasure` class.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| parent | [OdObject](../../com.aspose.imaging.fileformats.opendocument/odobject) | The parent. |

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


Gets the value.

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


Sets the value.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | java.lang.String | the value. |

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


Gets or sets the kind.

**Returns:**
int - The kind.
### setKind(int value) {#setKind-int-}
```
public void setKind(int value)
```


Gets or sets the kind.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | int | The kind. |

