**Inheritance:**
java.lang.Object
```
public class OdFont
```

The open document font
## Constructors

| Constructor | Description |
| --- | --- |
| [OdFont()](#OdFont--) |  |
## Methods

| Method | Description |
| --- | --- |
| [getFacename()](#getFacename--) | Gets the facename. |
| [setFacename(String value)](#setFacename-java.lang.String-) | Sets the facename. |
| [getHeight()](#getHeight--) | Gets the height. |
| [setHeight(int value)](#setHeight-int-) | Sets the height. |
| [getBold()](#getBold--) | Gets a value indicating whether this [OdFont](../../com.aspose.imaging.fileformats.opendocument.objects.font/odfont) is weight. |
| [setBold(boolean value)](#setBold-boolean-) | Sets a value indicating whether this [OdFont](../../com.aspose.imaging.fileformats.opendocument.objects.font/odfont) is weight. |
| [getItalic()](#getItalic--) | Gets a value indicating whether this [OdFont](../../com.aspose.imaging.fileformats.opendocument.objects.font/odfont) is italic. |
| [setItalic(boolean value)](#setItalic-boolean-) | Sets a value indicating whether this [OdFont](../../com.aspose.imaging.fileformats.opendocument.objects.font/odfont) is italic. |
| [getStrikeout()](#getStrikeout--) | Gets a value indicating whether this [OdFont](../../com.aspose.imaging.fileformats.opendocument.objects.font/odfont) is strikeout. |
| [setStrikeout(boolean value)](#setStrikeout-boolean-) | Sets a value indicating whether this [OdFont](../../com.aspose.imaging.fileformats.opendocument.objects.font/odfont) is strikeout. |
### OdFont() {#OdFont--}
```
public OdFont()
```


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


Gets the facename.

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


Sets the facename.

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

### getHeight() {#getHeight--}
```
public final int getHeight()
```


Gets the height.

**Returns:**
int - the height.
### setHeight(int value) {#setHeight-int-}
```
public final void setHeight(int value)
```


Sets the height.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | int | the height. |

### getBold() {#getBold--}
```
public final boolean getBold()
```


Gets a value indicating whether this [OdFont](../../com.aspose.imaging.fileformats.opendocument.objects.font/odfont) is weight.

**Returns:**
boolean - a value indicating whether this [OdFont](../../com.aspose.imaging.fileformats.opendocument.objects.font/odfont) is weight.
### setBold(boolean value) {#setBold-boolean-}
```
public final void setBold(boolean value)
```


Sets a value indicating whether this [OdFont](../../com.aspose.imaging.fileformats.opendocument.objects.font/odfont) is weight.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | boolean | a value indicating whether this [OdFont](../../com.aspose.imaging.fileformats.opendocument.objects.font/odfont) is weight. |

### getItalic() {#getItalic--}
```
public final boolean getItalic()
```


Gets a value indicating whether this [OdFont](../../com.aspose.imaging.fileformats.opendocument.objects.font/odfont) is italic.

**Returns:**
boolean - a value indicating whether this [OdFont](../../com.aspose.imaging.fileformats.opendocument.objects.font/odfont) is italic.
### setItalic(boolean value) {#setItalic-boolean-}
```
public final void setItalic(boolean value)
```


Sets a value indicating whether this [OdFont](../../com.aspose.imaging.fileformats.opendocument.objects.font/odfont) is italic.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | boolean | a value indicating whether this [OdFont](../../com.aspose.imaging.fileformats.opendocument.objects.font/odfont) is italic. |

### getStrikeout() {#getStrikeout--}
```
public final boolean getStrikeout()
```


Gets a value indicating whether this [OdFont](../../com.aspose.imaging.fileformats.opendocument.objects.font/odfont) is strikeout.

**Returns:**
boolean - a value indicating whether this [OdFont](../../com.aspose.imaging.fileformats.opendocument.objects.font/odfont) is strikeout.
### setStrikeout(boolean value) {#setStrikeout-boolean-}
```
public final void setStrikeout(boolean value)
```


Sets a value indicating whether this [OdFont](../../com.aspose.imaging.fileformats.opendocument.objects.font/odfont) is strikeout.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | boolean | a value indicating whether this [OdFont](../../com.aspose.imaging.fileformats.opendocument.objects.font/odfont) is strikeout. |

