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
      • getTextSize

        public com.aspose.cad.SizeF getTextSize()

        Gets text size in UOR

        Overrides:
        getTextSize in class DgnTextElement