Description
Select a new format for the for the selected text. If no frame is selected, sets the format for the current story.
Syntax
Page.TxtFormatName (str1) |
str1
Name of the new format
Remarks
Note: the command selects only formats that match the type, category and geometry depth of the current text - ie even if a format with the specified name exist in the text's title it is NOT selected if: it has an associated type different than the text one; or an associated category different than the text one; or a minimum or maximum depth and the text has a geometry shorter that the minimum or deeper than the maximum. Note that if a matching format with the specified name is not found the format is set to the first matching one. Note also that the command is unchanged for local texts (local texts have no type or category, and their geometry is ignored in the format selection).
Context
Page designer
See also
TxtAssignFormat, TxtFormat, TxtFormatList