**Inheritance:**
java.lang.Object, [com.aspose.imaging.DisposableObject](../../com.aspose.imaging/disposableobject), [com.aspose.imaging.fileformats.cdr.objects.CdrObject](../../com.aspose.imaging.fileformats.cdr.objects/cdrobject), [com.aspose.imaging.fileformats.cdr.objects.CdrDictionaryItem](../../com.aspose.imaging.fileformats.cdr.objects/cdrdictionaryitem)
```
public class CdrStyle extends CdrDictionaryItem
```

The cdr style
## Constructors

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

| Method | Description |
| --- | --- |
| [getFontName()](#getFontName--) | Gets the name of the font. |
| [setFontName(String value)](#setFontName-java.lang.String-) | Sets the name of the font. |
| [getCharset()](#getCharset--) | Gets the character set. |
| [setCharset(short value)](#setCharset-short-) | Sets the character set. |
| [getFontSize()](#getFontSize--) | Gets the size of the font. |
| [setFontSize(double value)](#setFontSize-double-) | Sets the size of the font. |
| [getFontWeight()](#getFontWeight--) | Gets the font weight. |
| [setFontWeight(int value)](#setFontWeight-int-) | Sets the font weight. |
| [getFill()](#getFill--) | Gets the fill. |
| [setFill(CdrFill value)](#setFill-com.aspose.imaging.fileformats.cdr.objects.CdrFill-) | Sets the fill. |
| [getOutLine()](#getOutLine--) | Gets the outline. |
| [setOutLine(CdrOutline value)](#setOutLine-com.aspose.imaging.fileformats.cdr.objects.CdrOutline-) | Sets the outline. |
| [getAlign()](#getAlign--) | Gets the alignment. |
| [setAlign(int value)](#setAlign-int-) | Sets the alignment. |
| [getRightIndent()](#getRightIndent--) | Gets the right indent. |
| [setRightIndent(double value)](#setRightIndent-double-) | Sets the right indent. |
| [getFirstIndent()](#getFirstIndent--) | Gets the first indent. |
| [setFirstIndent(double value)](#setFirstIndent-double-) | Sets the first indent. |
| [getLeftIndent()](#getLeftIndent--) | Gets the left indent. |
| [setLeftIndent(double value)](#setLeftIndent-double-) | Sets the left indent. |
| [getParentId()](#getParentId--) | Gets the parent identifier. |
| [setParentId(int value)](#setParentId-int-) | Sets the parent identifier. |
| [copy()](#copy--) | Copies this instance. |
### CdrStyle() {#CdrStyle--}
```
public CdrStyle()
```


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


Gets the name of the font.

**Returns:**
java.lang.String - the name of the font.
### setFontName(String value) {#setFontName-java.lang.String-}
```
public final void setFontName(String value)
```


Sets the name of the font.

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

### getCharset() {#getCharset--}
```
public final short getCharset()
```


Gets the character set.

**Returns:**
short - the character set.
### setCharset(short value) {#setCharset-short-}
```
public final void setCharset(short value)
```


Sets the character set.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | short | the character set. |

### getFontSize() {#getFontSize--}
```
public final double getFontSize()
```


Gets the size of the font.

**Returns:**
double - the size of the font.
### setFontSize(double value) {#setFontSize-double-}
```
public final void setFontSize(double value)
```


Sets the size of the font.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | double | the size of the font. |

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


Gets the font weight.

**Returns:**
int - the font weight.
### setFontWeight(int value) {#setFontWeight-int-}
```
public final void setFontWeight(int value)
```


Sets the font weight.

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

### getFill() {#getFill--}
```
public final CdrFill getFill()
```


Gets the fill.

**Returns:**
[CdrFill](../../com.aspose.imaging.fileformats.cdr.objects/cdrfill) - the fill.
### setFill(CdrFill value) {#setFill-com.aspose.imaging.fileformats.cdr.objects.CdrFill-}
```
public final void setFill(CdrFill value)
```


Sets the fill.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | [CdrFill](../../com.aspose.imaging.fileformats.cdr.objects/cdrfill) | the fill. |

### getOutLine() {#getOutLine--}
```
public final CdrOutline getOutLine()
```


Gets the outline.

**Returns:**
[CdrOutline](../../com.aspose.imaging.fileformats.cdr.objects/cdroutline) - the outline.
### setOutLine(CdrOutline value) {#setOutLine-com.aspose.imaging.fileformats.cdr.objects.CdrOutline-}
```
public final void setOutLine(CdrOutline value)
```


Sets the outline.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | [CdrOutline](../../com.aspose.imaging.fileformats.cdr.objects/cdroutline) | the outline. |

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


Gets the alignment.

**Returns:**
int - The alignment.
### setAlign(int value) {#setAlign-int-}
```
public final void setAlign(int value)
```


Sets the alignment.

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

### getRightIndent() {#getRightIndent--}
```
public final double getRightIndent()
```


Gets the right indent.

**Returns:**
double - the right indent.
### setRightIndent(double value) {#setRightIndent-double-}
```
public final void setRightIndent(double value)
```


Sets the right indent.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | double | the right indent. |

### getFirstIndent() {#getFirstIndent--}
```
public final double getFirstIndent()
```


Gets the first indent.

**Returns:**
double - the first indent.
### setFirstIndent(double value) {#setFirstIndent-double-}
```
public final void setFirstIndent(double value)
```


Sets the first indent.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | double | the first indent. |

### getLeftIndent() {#getLeftIndent--}
```
public final double getLeftIndent()
```


Gets the left indent.

**Returns:**
double - the left indent.
### setLeftIndent(double value) {#setLeftIndent-double-}
```
public final void setLeftIndent(double value)
```


Sets the left indent.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | double | the left indent. |

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


Gets the parent identifier.

**Returns:**
int - the parent identifier.
### setParentId(int value) {#setParentId-int-}
```
public final void setParentId(int value)
```


Sets the parent identifier.

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

### copy() {#copy--}
```
public final CdrStyle copy()
```


Copies this instance.

**Returns:**
[CdrStyle](../../com.aspose.imaging.fileformats.cdr.objects/cdrstyle) - The current style copy
