public class CadDimensionBase extends CadBaseExtrudedEntity
The CadDimension class
Constructor and Description |
---|
CadDimensionBase()
Initializes a new instance of the
CadDimensionBase class. |
Modifier and Type | Method and Description |
---|---|
double |
getActualMeasurement()
Gets or sets the actual measurement.
|
short |
getAttachmentType()
Gets or sets the attachment type.
|
String |
getBlockName()
Gets or sets the block name.
|
Cad3DPoint |
getBlockTranslationVector()
Gets or sets the block translation vector.
|
Cad3DPoint |
getDefinitionPoint()
Gets or sets the definition point.
|
Double |
getDimensionTextLineSpacingFactor()
Gets or sets the dimension text line spacing factor.
|
short |
getDimensionType()
Gets or sets the dimension type.
|
Cad3DPoint |
getExtrusionDirection()
Gets or sets the extrusion direction.
|
Double |
getHorizontalDirection()
Gets or sets the horizontal direction.
|
Cad3DPoint |
getMiddleTextLocation()
Gets or sets the middle text location.
|
String |
getStyleName()
Gets or sets the style name.
|
String |
getText()
Gets or sets the text.
|
Short |
getTextLineSpacing()
Gets or sets the text line spacing.
|
double |
getTextRotationAngle()
Gets or sets the textRotationAngle angle.
|
int |
getTypeName()
Gets the name of the type.
|
int |
getTypeOfDimension()
Gets or sets the type of dimension.
|
short |
getVersionNumber()
Gets or sets the version number.
|
boolean |
isSingleUse()
Gets a value indicating whether is single use.
|
boolean |
isUserDimension()
Gets a value indicating whether this instance is user dimension.
|
boolean |
isXOrdinate()
Gets a value indicating whether this instance is X ordinate.
|
boolean |
isYordinate()
Gets a value indicating whether this instance is yordinate.
|
void |
setActualMeasurement(double value)
Gets or sets the actual measurement.
|
void |
setAttachmentType(short value)
Gets or sets the attachment type.
|
void |
setBlockName(String value)
Gets or sets the block name.
|
void |
setBlockTranslationVector(Cad3DPoint value)
Gets or sets the block translation vector.
|
void |
setDefinitionPoint(Cad3DPoint value)
Gets or sets the definition point.
|
void |
setDimensionTextLineSpacingFactor(Double value)
Gets or sets the dimension text line spacing factor.
|
void |
setDimensionType(short value)
Gets or sets the dimension type.
|
void |
setExtrusionDirection(Cad3DPoint value)
Gets or sets the extrusion direction.
|
void |
setHorizontalDirection(Double value)
Gets or sets the horizontal direction.
|
void |
setMiddleTextLocation(Cad3DPoint value)
Gets or sets the middle text location.
|
void |
setStyleName(String value)
Gets or sets the style name.
|
void |
setText(String value)
Gets or sets the text.
|
void |
setTextLineSpacing(Short value)
Gets or sets the text line spacing.
|
void |
setTextRotationAngle(double value)
Gets or sets the textRotationAngle angle.
|
void |
setTypeOfDimension(int value)
Gets or sets the type of dimension.
|
void |
setVersionNumber(short value)
Gets or sets the version number.
|
getBounds, getChildObjects, getColorId, getColorName, getColorValue, getEntmode, getHyperlink, getLayerName, getLayoutTabName, getLineScale, getLineTypeName, getLineWeight, getLType, getMaterial, getMaterialHandle, getNumreactors, getPlotStyle, getPlotStyleFlag, getProxyBytesCount, getProxyData, getShadowMode, getSpaceMode, getStorageFlag, getTransparency, getVisible, getXDirMissingFlag, isByLayer, isNoLinks, setBounds, setByLayer, setChildObjects, setColorId, setColorName, setColorValue, setEntmode, setHyperlink, setLayerName, setLayoutTabName, setLineScale, setLineTypeName, setLineWeight, setLType, setMaterial, setMaterialHandle, setNoLinks, setNumreactors, setPlotStyle, setPlotStyleFlag, setProxyBytesCount, setProxyData, setShadowMode, setSpaceMode, setStorageFlag, setTransparency, setVisible, setXDirMissingFlag
getHardOwner, getSoftOwner, isSoftOwnerSet, setHardOwner, setSoftOwner
getApplicationCodesContainer, getAttribute102Values, getAttributes, getEmbeddedObjectsContainer, getObjectHandle, getXdataContainer, setApplicationCodesContainer, setAttribute102Values, setAttributes, setEmbeddedObjectsContainer, setObjectHandle, setXdataContainer
public CadDimensionBase()
Initializes a new instance of the CadDimensionBase
class.
public int getTypeName()
Gets the name of the type.
getTypeName
in class CadBaseEntity
public Cad3DPoint getExtrusionDirection()
Gets or sets the extrusion direction.
getExtrusionDirection
in class CadBaseExtrudedEntity
public void setExtrusionDirection(Cad3DPoint value)
Gets or sets the extrusion direction.
setExtrusionDirection
in class CadBaseExtrudedEntity
public final short getVersionNumber()
Gets or sets the version number.
public final void setVersionNumber(short value)
Gets or sets the version number.
value
- The version number.public final int getTypeOfDimension()
Gets or sets the type of dimension.
public final void setTypeOfDimension(int value)
Gets or sets the type of dimension.
value
- The type of dimension.public final double getActualMeasurement()
Gets or sets the actual measurement.
public final void setActualMeasurement(double value)
Gets or sets the actual measurement.
public final short getAttachmentType()
Gets or sets the attachment type.
public final void setAttachmentType(short value)
Gets or sets the attachment type.
public final String getBlockName()
Gets or sets the block name.
public final void setBlockName(String value)
Gets or sets the block name.
public final Cad3DPoint getDefinitionPoint()
Gets or sets the definition point.
public final void setDefinitionPoint(Cad3DPoint value)
Gets or sets the definition point.
public final Cad3DPoint getBlockTranslationVector()
Gets or sets the block translation vector. It was gotten from the old version CadDimensionBaseR12, because we have cases when block translation vector appears in new version CadDimensionBase
public final void setBlockTranslationVector(Cad3DPoint value)
Gets or sets the block translation vector. It was gotten from the old version CadDimensionBaseR12, because we have cases when block translation vector appears in new version CadDimensionBase
public final Double getDimensionTextLineSpacingFactor()
Gets or sets the dimension text line spacing factor.
public final void setDimensionTextLineSpacingFactor(Double value)
Gets or sets the dimension text line spacing factor.
public final short getDimensionType()
Gets or sets the dimension type.
public final void setDimensionType(short value)
Gets or sets the dimension type.
public final Double getHorizontalDirection()
Gets or sets the horizontal direction.
public final void setHorizontalDirection(Double value)
Gets or sets the horizontal direction.
public final boolean isSingleUse()
Gets a value indicating whether is single use.
public final boolean isUserDimension()
Gets a value indicating whether this instance is user dimension.
true
if this instance is user dimension; otherwise, false
.public final boolean isXOrdinate()
Gets a value indicating whether this instance is X ordinate.
true
if this instance is X ordinate; otherwise, false
.public final boolean isYordinate()
Gets a value indicating whether this instance is yordinate.
true
if this instance is yordinate; otherwise, false
.public final Cad3DPoint getMiddleTextLocation()
Gets or sets the middle text location.
public final void setMiddleTextLocation(Cad3DPoint value)
Gets or sets the middle text location.
public final double getTextRotationAngle()
Gets or sets the textRotationAngle angle.
public final void setTextRotationAngle(double value)
Gets or sets the textRotationAngle angle.
public final String getStyleName()
Gets or sets the style name.
public final void setStyleName(String value)
Gets or sets the style name.
public final String getText()
Gets or sets the text.
public final void setText(String value)
Gets or sets the text.
public final Short getTextLineSpacing()
Gets or sets the text line spacing.
public final void setTextLineSpacing(Short value)
Gets or sets the text line spacing.