Packages

 

com.aspose.cad.fileformats.dgn.dgnelements

Class DgnMultiTextElement



  • public class DgnMultiTextElement
    extends DgnTextElement

    Represents multi-line text element

    • Constructor Detail

      • DgnMultiTextElement

        public DgnMultiTextElement(byte[] rawData,
                                   boolean is3DElementExpected)

        Initializes a new instance of the DgnMultiTextElement class

        Parameters:
        rawData - raw data
        is3DElementExpected - is 3D
    • Method Detail

      • getLinesNumber

        public int getLinesNumber()

        Gets number of lines

      • getNodeNumber

        public int getNodeNumber()

        Gets nodes number

      • getLineSpacing

        public int getLineSpacing()

        Gets line spacing

      • getMaximumlengthAllowed

        public short getMaximumlengthAllowed()

        Gets maximum length allowed

      • getMaximumlengthAllowUsed

        public short getMaximumlengthAllowUsed()

        Gets maximum length allowed to use

      • addText

        public void addText(DgnTextElement text)

        Adds text element

        Parameters:
        text - text element to add
      • applyTransformation_internalized

        public void applyTransformation_internalized(double scale,
                                                     DgnPoint originPoint)

        Apply transformation to the element

        Overrides:
        applyTransformation_internalized in class DgnTextElement
        Parameters:
        scale - scale factor
        originPoint - point of origin