CadAttDef
Inheritance: java.lang.Object, CadXrecordObject
All Implemented Interfaces: com.aspose.ms.System.ICloneable, Cloneable
Class describing Cad AttributeDefinitions
Constructors
| Constructor | Description |
|---|---|
| CadAttDef() | Initializes a new instance of the CadAttDef class. |
Methods
| Method | Description |
|---|---|
| getTypeName() | Gets the name of the type. |
| getExtrusionDirection() | Gets or sets the extrusion direction. |
| setExtrusionDirection(Cad3DPoint value) | Gets or sets the extrusion direction. |
| getMultiText() | Gets or sets the multi text. |
| setMultiText(CadMText value) | Gets or sets the multi text. |
| getVersionNumber() | Gets or sets the version number. |
| setVersionNumber(Short value) | Gets or sets the version number. |
| getLockPositionFlag() | Gets or sets the lock position flag. |
| setLockPositionFlag(short value) | Gets or sets the lock position flag. |
| getDefaultString() | Gets or sets the default string. |
| setDefaultString(String value) | Gets or sets the default string. |
| getFieldLength() | Gets or sets the field length. |
| setFieldLength(short value) | Gets or sets the field length. |
| getFirstAlignment() | Gets or sets the first alignment. |
| setFirstAlignment(Cad3DPoint value) | Gets or sets the first alignment. |
| getFlags() | Gets or sets the flags. |
| setFlags(short value) | Gets or sets the flags. |
| getGenerationFlag() | Gets or sets the generation flag. |
| setGenerationFlag(short value) | Gets or sets the generation flag. |
| getHorizontalAlignment() | Gets or sets the horizontal alignment. |
| setHorizontalAlignment(short value) | Gets or sets the horizontal alignment. |
| getId() | Gets or sets the id. |
| setId(String value) | Gets or sets the id. |
| getObliqueAngle() | Gets or sets the oblique angle. |
| setObliqueAngle(double value) | Gets or sets the oblique angle. |
| getPromptString() | Gets or sets the prompt string. |
| setPromptString(String value) | Gets or sets the prompt string. |
| getRotationAngle() | Gets or sets the rotation angle. |
| setRotationAngle(double value) | Gets or sets the rotation angle. |
| getScaleX() | Gets or sets the scale x. |
| setScaleX(double value) | Gets or sets the scale x. |
| getSecondAlignment() | Gets or sets the second alignment. |
| setSecondAlignment(Cad3DPoint value) | Gets or sets the second alignment. |
| getStyleName() | Gets or sets the style name. |
| setStyleName(String value) | Gets or sets the style name. |
| getTextHeight() | Gets or sets the text height. |
| setTextHeight(double value) | Gets or sets the text height. |
| getThickness() | Gets or sets the thickness. |
| setThickness(double value) | Gets or sets the thickness. |
| getVerticalJustification() | Gets or sets the vertical justification. |
| setVerticalJustification(short value) | Gets or sets the vertical justification. |
| deepClone() | Clones current object |
CadAttDef()
public CadAttDef()
Initializes a new instance of the CadAttDef class.
getTypeName()
public int getTypeName()
Gets the name of the type.
Returns: int - The name of the type.
getExtrusionDirection()
public Cad3DPoint getExtrusionDirection()
Gets or sets the extrusion direction.
Returns: Cad3DPoint
setExtrusionDirection(Cad3DPoint value)
public void setExtrusionDirection(Cad3DPoint value)
Gets or sets the extrusion direction.
getMultiText()
public final CadMText getMultiText()
Gets or sets the multi text.
Returns: CadMText - The multi text.
setMultiText(CadMText value)
public final void setMultiText(CadMText value)
Gets or sets the multi text.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | CadMText | The multi text. |
getVersionNumber()
public final Short getVersionNumber()
Gets or sets the version number.
Returns: Short - The version number.
setVersionNumber(Short value)
public final void setVersionNumber(Short value)
Gets or sets the version number.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | Short | The version number. |
getLockPositionFlag()
public final short getLockPositionFlag()
Gets or sets the lock position flag.
Returns: short - The lock position flag.
setLockPositionFlag(short value)
public final void setLockPositionFlag(short value)
Gets or sets the lock position flag.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | short | The lock position flag. |
getDefaultString()
public final String getDefaultString()
Gets or sets the default string.
Returns: String
setDefaultString(String value)
public final void setDefaultString(String value)
Gets or sets the default string.
getFieldLength()
public final short getFieldLength()
Gets or sets the field length.
Returns: short
setFieldLength(short value)
public final void setFieldLength(short value)
Gets or sets the field length.
getFirstAlignment()
public final Cad3DPoint getFirstAlignment()
Gets or sets the first alignment.
Returns: Cad3DPoint
setFirstAlignment(Cad3DPoint value)
public final void setFirstAlignment(Cad3DPoint value)
Gets or sets the first alignment.
getFlags()
public final short getFlags()
Gets or sets the flags.
Returns: short
setFlags(short value)
public final void setFlags(short value)
Gets or sets the flags.
getGenerationFlag()
public final short getGenerationFlag()
Gets or sets the generation flag.
Returns: short
setGenerationFlag(short value)
public final void setGenerationFlag(short value)
Gets or sets the generation flag.
getHorizontalAlignment()
public final short getHorizontalAlignment()
Gets or sets the horizontal alignment.
Returns: short
setHorizontalAlignment(short value)
public final void setHorizontalAlignment(short value)
Gets or sets the horizontal alignment.
getId()
public final String getId()
Gets or sets the id.
Returns: String
setId(String value)
public final void setId(String value)
Gets or sets the id.
getObliqueAngle()
public final double getObliqueAngle()
Gets or sets the oblique angle.
Returns: double
setObliqueAngle(double value)
public final void setObliqueAngle(double value)
Gets or sets the oblique angle.
getPromptString()
public final String getPromptString()
Gets or sets the prompt string.
Returns: String
setPromptString(String value)
public final void setPromptString(String value)
Gets or sets the prompt string.
getRotationAngle()
public final double getRotationAngle()
Gets or sets the rotation angle.
Returns: double
setRotationAngle(double value)
public final void setRotationAngle(double value)
Gets or sets the rotation angle.
getScaleX()
public final double getScaleX()
Gets or sets the scale x.
Returns: double
setScaleX(double value)
public final void setScaleX(double value)
Gets or sets the scale x.
getSecondAlignment()
public final Cad3DPoint getSecondAlignment()
Gets or sets the second alignment.
Returns: Cad3DPoint
setSecondAlignment(Cad3DPoint value)
public final void setSecondAlignment(Cad3DPoint value)
Gets or sets the second alignment.
getStyleName()
public final String getStyleName()
Gets or sets the style name.
Returns: String
setStyleName(String value)
public final void setStyleName(String value)
Gets or sets the style name.
getTextHeight()
public final double getTextHeight()
Gets or sets the text height.
Returns: double
setTextHeight(double value)
public final void setTextHeight(double value)
Gets or sets the text height.
getThickness()
public final double getThickness()
Gets or sets the thickness.
Returns: double
setThickness(double value)
public final void setThickness(double value)
Gets or sets the thickness.
getVerticalJustification()
public final short getVerticalJustification()
Gets or sets the vertical justification.
Returns: short
setVerticalJustification(short value)
public final void setVerticalJustification(short value)
Gets or sets the vertical justification.
deepClone()
public final Object deepClone()
Clones current object
Returns: Object - Clone of current object