Arbortext IsoDraw > Macro Language Reference > Object Data Types > Sub Data Types for Attribute Preferences > .txtFormats[ ]
  
.txtFormats[ ]
This property gives access to all text format attributes but it can not be used directly.
.txtFormats[ ].name
Returns and sets the name of the text format as string.
app.txtFormats[1].name = "My New Format"
.txtFormats[ ].font
Returns and sets the name of the font of the text format as string. Any installed font can be used.
app.txtFormats[1].font = "Arial"
.txtFormats[ ].face
Returns and sets the text face of the text format as string. Allowed values are “normal”, “bold”, “italic” and “bolditallic”.
app.txtFormats[1].face = "bold"
.txtFormats[ ].size
Returns and sets the size of the text format as float.
app.txtFormats[1].size = 12
.txtFormats[ ].leading
Returns and sets the leading of the text format as float.
app.txtFormats[1].leading = 2.5
.txtFormats[ ].position
Returns and sets the position of the text format as float.
app.txtFormats[1].position = 8
.txtFormats[ ].kerning
Returns and sets the kerning of the text format as float.
app.txtFormats[1].kerning = 1.2