public class DgnMultiTextElement extends DgnTextElement
Represents multi-line text element
Constructor and Description |
---|
DgnMultiTextElement(byte[] rawData,
boolean is3DElementExpected)
Initializes a new instance of the
DgnMultiTextElement class |
Modifier and Type | Method and Description |
---|---|
void |
addText(DgnTextElement text)
Adds text element
|
int |
getLinesNumber()
Gets number of lines
|
int |
getLineSpacing()
Gets line spacing
|
short |
getMaximumlengthAllowed()
Gets maximum length allowed
|
short |
getMaximumlengthAllowUsed()
Gets maximum length allowed to use
|
int |
getNodeNumber()
Gets nodes number
|
DgnTextElement[] |
getStrings()
Gets lines
|
com.aspose.cad.SizeF |
getTextSize()
Gets text size in UOR
|
getFontId, getHeightMultiplier, getJustification, getLengthMultiplier, getMaxPoint, getMinPoint, getOrigin, getRotation, getText
getQuaternionRotations
getMetadata
public DgnMultiTextElement(byte[] rawData, boolean is3DElementExpected)
Initializes a new instance of the DgnMultiTextElement
class
rawData
- raw datais3DElementExpected
- is 3Dpublic int getLinesNumber()
Gets number of lines
public int getNodeNumber()
Gets nodes number
public int getLineSpacing()
Gets line spacing
public short getMaximumlengthAllowed()
Gets maximum length allowed
public short getMaximumlengthAllowUsed()
Gets maximum length allowed to use
public DgnTextElement[] getStrings()
Gets lines
public void addText(DgnTextElement text)
Adds text element
text
- text element to addpublic com.aspose.cad.SizeF getTextSize()
Gets text size in UOR
getTextSize
in class DgnTextElement