interface DwgEmbeddedMText {
    attachmentPoint: DwgAttachmentPoint;
    direction: DwgPoint3D;
    extentsHeight: number;
    extentsWidth: number;
    insertionPoint: DwgPoint3D;
    rectHeight: number;
    rectWidth: number;
}

Properties

attachmentPoint: DwgAttachmentPoint

Attachment point:

  • 1: Top left
  • 2: Top center
  • 3: Top right
  • 4: Middle left
  • 5: Middle center
  • 6: Middle right
  • 7: Bottom left
  • 8: Bottom center
  • 9: Bottom right
direction: DwgPoint3D

X-axis direction vector (in WCS)

extentsHeight: number

Vertical height of the mtext entity (read-only, ignored if supplied)

extentsWidth: number

Horizontal width of the characters that make up the mtext entity. This value will always be equal to or less than the value of 'rectWidth' (read-only, ignored if supplied)

insertionPoint: DwgPoint3D

Insertion point

rectHeight: number

Nominal (initial) text height

rectWidth: number

Reference rectangle width