Next: Other
Commands Up: Object related Commands Previous: Manipulating Objects
Index
- DeleteText([``name''])
- Deletes the text of the text frame ``name''. if there is some
text selected, this text will be deleted. if ``name'' is not given
the currently selected item is used.
- GetLineSpacing([``name''])
- Gets the lines pacing of the text frame ``name'' expressed in
points. If ``name'' is not given the currently selected item is
used.
- GetFont([``name''])
- Returns the font for the text frame ``name''. If this text frame
has some text selected the value assigned to the first character of
the selection is returned. If ``name'' is not given the currently
selected Item is used.
- GetFontSize([``name''])
- Returns the font size for the text frame ``name''. If this
text frame has some text selected the value assigned to the first
character of the selection is returned. If ``name'' is not given
the currently selected item is used.
- GetText([``name''])
- Returns the text of the text frame ``name''. If this text frame
has some text selected, this text is returned. If ``name'' is not
given the currently selected item is used.
- GetTextColor([``name''])
- Returns the name of the text color of the object ``name''. If
this text frame has some text selected the Value assigned to the
first character of the selection is returned. If ``name'' is not
given the currently selected Item is used.
- GetTextLength([``name''])
- Returns the length of the text in the text frame ``name''. If
``name'' is not given the currently selected Item is used.
- GetTextShade([``name''])
- Returns the shading Value of the text c olor of the object
``name''. If this text frame has some text selected the Value
assigned to the first character of the selection is returned. If
``name'' is not given the currently selected item is used.
- InsertText(``text'', pos, [``name''])
- Inserts the text ``text'' at the position ``pos'' into the
text frame The first character has an index of 0. ``name'' If
``name'' is not given the currently selected Item is used.
- SetTextAlignment(align, [``name''])
- Sets the text alignment of the text frame ``name'' to the
specified alignment. if ``name'' is not given the currently
selected item is used. ``align'' can have the following
values:
0 = Left Aligned
1 = Centered
2 = Right Aligned
3 = Forced
- SelectText(start, count, [``name''])
- Selects ``count'' characters text of the text frame ``name''
starting from the character ``start''. character counting starts at
0. if ``count'' is zero, any text selection will be cleared. if
``name'' is not given the currently selected item is used.
- SetLineSpacing(size, [``name''])
- Sets the line spacing of the text frame ``name'' to the
point size ``size''. If ``name'' is not given the currently selected
Item is used.
- SetFont(''font'', [``name''])
- Sets the font of the text frame ``name'' to ``font'', if there
is some text selected only the selected text is changed. If
``name'' is not given the currently selected item is used.
- SetFontSize(size, [``name''])
- Sets the font size of the text frame ``name'' to the point size
``size'', if there is some text selected only the selected text is
changed. ``size'' must be in the range 1 to 512. If ``name'' is not
given the currently selected Item is used.
- SetText(''text'', [``name''])
- Sets the text of the text frame ``name'' to the text of the
string ``text''. If ``name'' is not given the currently selected
Item is used.
- SetTextColor(''color'', [``name''])
- Sets the text c olor of the object ``name'' to the color
``color'', if there is some text selected only the selected text is
changed. If ``name'' is not given the currently selected Item is
used.
- SetTextShade(shade, [``name''])
- Sets the shading of the text c olor of the object ``name'' to
``shade'', if there is some text selected only the selected text is
changed. ``shade'' must be an integer value in the range from 0
(lightest) to 100 (full color intensity). If ``name'' is not given
the currently selected Item is used.
Next: Other
Commands Up: Object related Commands Previous: Manipulating Objects
Index