
**Inheritance:** java.lang.Object, CadBaseExtrudedEntity

Class describing Cad text

## Constructors

| Constructor | Description |
| --- | --- |
| [CadText()](#CadText) | Initializes a new instance of the CadText class. |

## Methods

| Method | Description |
| --- | --- |
| [getTypeName()](#getTypeName) | Gets the name of the type. |
| [getExtrusionDirection()](#getExtrusionDirection) | Gets or sets the extrusion direction. |
| [setExtrusionDirection(Cad3DPoint value)](#setExtrusionDirection-com.aspose.cad.fileformats.cad.cadobjects.Cad3DPoint) | Gets or sets the extrusion direction. |
| [getDefaultValue()](#getDefaultValue) | Gets or sets the default value. |
| [setDefaultValue(String value)](#setDefaultValue-java.lang.String) | Gets or sets the default value. |
| [getFirstAlignment()](#getFirstAlignment) | Gets or sets the first alignment. |
| [setFirstAlignment(Cad3DPoint value)](#setFirstAlignment-com.aspose.cad.fileformats.cad.cadobjects.Cad3DPoint) | Gets or sets the first alignment. |
| [getGenerationFlag()](#getGenerationFlag) | Gets or sets the generation flag. |
| [setGenerationFlag(short value)](#setGenerationFlag-short) | Gets or sets the generation flag. |
| [getHorizontalJustification()](#getHorizontalJustification) | Gets or sets the horizontal justification. |
| [setHorizontalJustification(short value)](#setHorizontalJustification-short) | Gets or sets the horizontal justification. |
| [getObliqueAngle()](#getObliqueAngle) | Gets or sets the oblique angle. |
| [setObliqueAngle(double value)](#setObliqueAngle-double) | Gets or sets the oblique angle. |
| [getScaleX()](#getScaleX) | Gets or sets the scale x. |
| [setScaleX(double value)](#setScaleX-double) | Gets or sets the scale x. |
| [getSecondAlignmentPoint()](#getSecondAlignmentPoint) | Gets or sets the second alignment point. |
| [setSecondAlignmentPoint(Cad3DPoint value)](#setSecondAlignmentPoint-com.aspose.cad.fileformats.cad.cadobjects.Cad3DPoint) | Gets or sets the second alignment point. |
| [getStyleType()](#getStyleType) | Gets or sets the style type. |
| [setStyleType(String value)](#setStyleType-java.lang.String) | Gets or sets the style type. |
| [getTextHeight()](#getTextHeight) | Gets or sets the text height. |
| [setTextHeight(double value)](#setTextHeight-double) | Gets or sets the text height. |
| [getTextRotation()](#getTextRotation) | Gets or sets the text rotation. |
| [setTextRotation(double value)](#setTextRotation-double) | Gets or sets the text rotation. |
| [getTextWidth()](#getTextWidth) | Gets the text width. |
| [getThickness()](#getThickness) | Gets or sets the thickness. |
| [setThickness(double value)](#setThickness-double) | Gets or sets the thickness. |
| [getVerticalJustification()](#getVerticalJustification) | Gets or sets the vertical justification. |
| [setVerticalJustification(short value)](#setVerticalJustification-short) | Gets or sets the vertical justification. |

### CadText() {#CadText}
```java
public CadText()
```

Initializes a new instance of the CadText class.

### getTypeName() {#getTypeName}
```java
public int getTypeName()
```

Gets the name of the type.

**Returns:** int - The name of the type.

### getExtrusionDirection() {#getExtrusionDirection}
```java
public Cad3DPoint getExtrusionDirection()
```

Gets or sets the extrusion direction.

**Returns:** Cad3DPoint

### setExtrusionDirection(Cad3DPoint value) {#setExtrusionDirection-com.aspose.cad.fileformats.cad.cadobjects.Cad3DPoint}
```java
public void setExtrusionDirection(Cad3DPoint value)
```

Gets or sets the extrusion direction.

### getDefaultValue() {#getDefaultValue}
```java
public final String getDefaultValue()
```

Gets or sets the default value.

**Returns:** String

### setDefaultValue(String value) {#setDefaultValue-java.lang.String}
```java
public final void setDefaultValue(String value)
```

Gets or sets the default value.

### getFirstAlignment() {#getFirstAlignment}
```java
public final Cad3DPoint getFirstAlignment()
```

Gets or sets the first alignment.

**Returns:** Cad3DPoint - The first alignment.

### setFirstAlignment(Cad3DPoint value) {#setFirstAlignment-com.aspose.cad.fileformats.cad.cadobjects.Cad3DPoint}
```java
public final void setFirstAlignment(Cad3DPoint value)
```

Gets or sets the first alignment.

**Parameters:**

| Parameter | Type | Description |
| --- | --- | --- |
| value | Cad3DPoint | The first alignment. |

### getGenerationFlag() {#getGenerationFlag}
```java
public final short getGenerationFlag()
```

Gets or sets the generation flag.

**Returns:** short

### setGenerationFlag(short value) {#setGenerationFlag-short}
```java
public final void setGenerationFlag(short value)
```

Gets or sets the generation flag.

### getHorizontalJustification() {#getHorizontalJustification}
```java
public final short getHorizontalJustification()
```

Gets or sets the horizontal justification.

**Returns:** short

### setHorizontalJustification(short value) {#setHorizontalJustification-short}
```java
public final void setHorizontalJustification(short value)
```

Gets or sets the horizontal justification.

### getObliqueAngle() {#getObliqueAngle}
```java
public final double getObliqueAngle()
```

Gets or sets the oblique angle.

**Returns:** double

### setObliqueAngle(double value) {#setObliqueAngle-double}
```java
public final void setObliqueAngle(double value)
```

Gets or sets the oblique angle.

### getScaleX() {#getScaleX}
```java
public final double getScaleX()
```

Gets or sets the scale x.

**Returns:** double

### setScaleX(double value) {#setScaleX-double}
```java
public final void setScaleX(double value)
```

Gets or sets the scale x.

### getSecondAlignmentPoint() {#getSecondAlignmentPoint}
```java
public final Cad3DPoint getSecondAlignmentPoint()
```

Gets or sets the second alignment point.

**Returns:** Cad3DPoint

### setSecondAlignmentPoint(Cad3DPoint value) {#setSecondAlignmentPoint-com.aspose.cad.fileformats.cad.cadobjects.Cad3DPoint}
```java
public final void setSecondAlignmentPoint(Cad3DPoint value)
```

Gets or sets the second alignment point.

### getStyleType() {#getStyleType}
```java
public final String getStyleType()
```

Gets or sets the style type.

**Returns:** String

### setStyleType(String value) {#setStyleType-java.lang.String}
```java
public final void setStyleType(String value)
```

Gets or sets the style type.

### getTextHeight() {#getTextHeight}
```java
public final double getTextHeight()
```

Gets or sets the text height.

**Returns:** double

### setTextHeight(double value) {#setTextHeight-double}
```java
public final void setTextHeight(double value)
```

Gets or sets the text height.

### getTextRotation() {#getTextRotation}
```java
public final double getTextRotation()
```

Gets or sets the text rotation.

**Returns:** double

### setTextRotation(double value) {#setTextRotation-double}
```java
public final void setTextRotation(double value)
```

Gets or sets the text rotation.

### getTextWidth() {#getTextWidth}
```java
public final double getTextWidth()
```

Gets the text width.

**Returns:** double

### getThickness() {#getThickness}
```java
public final double getThickness()
```

Gets or sets the thickness.

**Returns:** double

### setThickness(double value) {#setThickness-double}
```java
public final void setThickness(double value)
```

Gets or sets the thickness.

### getVerticalJustification() {#getVerticalJustification}
```java
public final short getVerticalJustification()
```

Gets or sets the vertical justification.

**Returns:** short

### setVerticalJustification(short value) {#setVerticalJustification-short}
```java
public final void setVerticalJustification(short value)
```

Gets or sets the vertical justification.

