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

        Returns:
        The number of lines
      • getNodeNumber

        public int getNodeNumber()

        Gets nodes number

        Returns:
        The nodes number
      • getLineSpacing

        public int getLineSpacing()

        Gets line spacing

        Returns:
        The line spacing
      • getMaximumlengthAllowed

        public short getMaximumlengthAllowed()

        Gets maximum length allowed

        Returns:
        The maximum length allowed
      • getMaximumlengthAllowUsed

        public short getMaximumlengthAllowUsed()

        Gets maximum length allowed to use

        Returns:
        The maximum length allowed to use
      • getStrings

        public DgnTextElement[] getStrings()

        Gets lines

        Returns:
        The lines
      • 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