Packages

 

com.aspose.cad.fileformats.cad.cadobjects

com.aspose.cad.fileformats.cad.cadobjects

Class CadDimensionBase

    • Constructor Detail

      • CadDimensionBase

        public CadDimensionBase()

        Initializes a new instance of the CadDimensionBase class.

    • Method Detail

      • getVersionNumber

        public CadShortParameter getVersionNumber()

        Gets or sets the version number.

        Value: The version number.
      • setVersionNumber

        public void setVersionNumber(CadShortParameter value)

        Gets or sets the version number.

        Value: The version number.
      • getTypeOfDimension

        public int getTypeOfDimension()

        Gets or sets the type of dimension.

        Value: The type of dimension.
      • getActualMeasurement

        public double getActualMeasurement()

        Gets or sets the actual measurement.

      • setActualMeasurement

        public void setActualMeasurement(double value)

        Gets or sets the actual measurement.

      • getAttachmentType

        public short getAttachmentType()

        Gets or sets the attachment type.

      • setAttachmentType

        public void setAttachmentType(short value)

        Gets or sets the attachment type.

      • getBlockName

        public String getBlockName()

        Gets or sets the block name.

      • setBlockName

        public void setBlockName(String value)

        Gets or sets the block name.

      • getDefinitionPoint

        public Cad3DPoint getDefinitionPoint()

        Gets or sets the definition point.

      • setDefinitionPoint

        public void setDefinitionPoint(Cad3DPoint value)

        Gets or sets the definition point.

      • getBlockTranslationVector

        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

      • setBlockTranslationVector

        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

      • getDimensionTextLineSpacingFactor

        public double getDimensionTextLineSpacingFactor()

        Gets or sets the dimension text line spacing factor.

      • setDimensionTextLineSpacingFactor

        public void setDimensionTextLineSpacingFactor(double value)

        Gets or sets the dimension text line spacing factor.

      • getDimensionType

        public short getDimensionType()

        Gets or sets the dimension type.

      • setDimensionType

        public void setDimensionType(short value)

        Gets or sets the dimension type.

      • getHorizontalDirection

        public double getHorizontalDirection()

        Gets or sets the horizontal direction.

      • setHorizontalDirection

        public void setHorizontalDirection(double value)

        Gets or sets the horizontal direction.

      • isSingleUse

        public boolean isSingleUse()

        Gets a value indicating whether is single use.

      • isUserDimension

        public boolean isUserDimension()

        Gets a value indicating whether this instance is user dimension.

        Value: true if this instance is user dimension; otherwise, false.
      • isXOrdinate

        public boolean isXOrdinate()

        Gets a value indicating whether this instance is X ordinate.

        Value: true if this instance is X ordinate; otherwise, false.
      • isYordinate

        public boolean isYordinate()

        Gets a value indicating whether this instance is yordinate.

        Value: true if this instance is yordinate; otherwise, false.
      • getMiddleTextLocation

        public Cad3DPoint getMiddleTextLocation()

        Gets or sets the middle text location.

      • setMiddleTextLocation

        public void setMiddleTextLocation(Cad3DPoint value)

        Gets or sets the middle text location.

      • getTextRotationAngle

        public double getTextRotationAngle()

        Gets or sets the textRotationAngle angle.

      • setTextRotationAngle

        public void setTextRotationAngle(double value)

        Gets or sets the textRotationAngle angle.

      • getStyleName

        public String getStyleName()

        Gets or sets the style name.

      • setStyleName

        public void setStyleName(String value)

        Gets or sets the style name.

      • getText

        public String getText()

        Gets or sets the text.

      • setText

        public void setText(String value)

        Gets or sets the text.

      • getTextLineSpacing

        public short getTextLineSpacing()

        Gets or sets the text line spacing.

      • setTextLineSpacing

        public void setTextLineSpacing(short value)

        Gets or sets the text line spacing.

      • getDimensionTypeObject

        public CadShortParameter getDimensionTypeObject()

        Gets whole object of dimension type.