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.
|
CadShortParameter |
getDimensionTypeObject()
Gets whole object of dimension type.
|
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 |
getTypeOfDimension()
Gets or sets the type of dimension.
|
CadShortParameter |
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 |
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 |
setVersionNumber(CadShortParameter value)
Gets or sets the version number.
|
getExtrusionDirection, setExtrusionDirectiongetAttribute160, getAttribute348, getChildObjects, getColorId, getColorName, getColorValue, getHyperlink, getLayerName, getLayoutTabName, getLineScale, getLineTypeName, getLineWeight, getMaterial, getPlotStyle, getProxyBytesCount, getProxyData, getShadowMode, getSpaceMode, getTransparency, getTypeName, getVisible, isColorIdSet, setAttribute160, setAttribute348, setChildObjects, setColorId, setColorName, setColorValue, setHyperlink, setLayerName, setLayoutTabName, setLineScale, setLineTypeName, setLineWeight, setMaterial, setPlotStyle, setProxyBytesCount, setProxyData, setShadowMode, setSpaceMode, setTransparency, setVisiblegetHardOwner, getSoftOwner, setHardOwner, setSoftOwnergetApplicationCodesContainer, getAttribute102Values, getAttributes, getDxfDataFormat, getEmbeddedObjectsContainer, getObjectHandle, getRoundTripTableStyle, getXdataContainer, setApplicationCodesContainer, setAttribute102Values, setAttributes, setDxfDataFormat, setEmbeddedObjectsContainer, setObjectHandle, setRoundTripTableStyle, setXdataContainerpublic CadDimensionBase()
Initializes a new instance of the CadDimensionBase class.
public CadShortParameter getVersionNumber()
Gets or sets the version number.
public void setVersionNumber(CadShortParameter value)
Gets or sets the version number.
value - The version number.public int getTypeOfDimension()
Gets or sets the type of dimension.
public double getActualMeasurement()
Gets or sets the actual measurement.
public void setActualMeasurement(double value)
Gets or sets the actual measurement.
public short getAttachmentType()
Gets or sets the attachment type.
public void setAttachmentType(short value)
Gets or sets the attachment type.
public String getBlockName()
Gets or sets the block name.
public void setBlockName(String value)
Gets or sets the block name.
public Cad3DPoint getDefinitionPoint()
Gets or sets the definition point.
public void setDefinitionPoint(Cad3DPoint value)
Gets or sets the definition point.
public 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 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 double getDimensionTextLineSpacingFactor()
Gets or sets the dimension text line spacing factor.
public void setDimensionTextLineSpacingFactor(double value)
Gets or sets the dimension text line spacing factor.
public short getDimensionType()
Gets or sets the dimension type.
public void setDimensionType(short value)
Gets or sets the dimension type.
public double getHorizontalDirection()
Gets or sets the horizontal direction.
public void setHorizontalDirection(double value)
Gets or sets the horizontal direction.
public boolean isSingleUse()
Gets a value indicating whether is single use.
public boolean isUserDimension()
Gets a value indicating whether this instance is user dimension.
true if this instance is user dimension; otherwise, false.public boolean isXOrdinate()
Gets a value indicating whether this instance is X ordinate.
true if this instance is X ordinate; otherwise, false.public boolean isYordinate()
Gets a value indicating whether this instance is yordinate.
true if this instance is yordinate; otherwise, false.public Cad3DPoint getMiddleTextLocation()
Gets or sets the middle text location.
public void setMiddleTextLocation(Cad3DPoint value)
Gets or sets the middle text location.
public double getTextRotationAngle()
Gets or sets the textRotationAngle angle.
public void setTextRotationAngle(double value)
Gets or sets the textRotationAngle angle.
public String getStyleName()
Gets or sets the style name.
public void setStyleName(String value)
Gets or sets the style name.
public String getText()
Gets or sets the text.
public void setText(String value)
Gets or sets the text.
public short getTextLineSpacing()
Gets or sets the text line spacing.
public void setTextLineSpacing(short value)
Gets or sets the text line spacing.
public CadShortParameter getDimensionTypeObject()
Gets whole object of dimension type.
Copyright (c) 2008-2020 Aspose Pty Ltd. All Rights Reserved.