EditReplaceFont

Syntax

EditReplaceFont [.Points = number] [, .Underline = number] [, .Color = number] [, .Strikethrough = number] [, .Superscript = number] [, .Subscript = number] [, .Shadow = number] [, .Hidden = number] [, .SmallCaps = number] [, .AllCaps = number] [, .Outline = number] [, .Spacing = number] [, .Position = number or text] [, .Kerning = number] [, .KerningMin = number or text] [, .Default] [, .Tab = number] [, .Font = text] [, .Bold = number] [, .Italic = number]

Remarks

When followed by an EditReplace instruction in which .Format is set to 1, specifies the character formatting of the replacement text. You can set .Strikethrough, .Superscript, .Shadow, .Subscript, .Hidden, .SmallCaps, .AllCaps, .Outline, .Kerning, .Bold, and .Italic to one of the three following values.

Use this value

To do this

–1

Preserve the state of a given format in the found text

0 (zero)

Remove the given format from the found text

1

Apply the given format to the found text


Note that .Shadow and .Outline are available only on the Macintosh. For more information on the arguments, see FormatFont. For an example, see EditFindLang.

See Also

EditFindFont, EditReplace, EditReplaceBorder, EditReplaceClearFormatting, EditReplaceLang, EditReplacePara, EditReplaceStyle, EditReplaceTabs, FormatFont