CorelScript.SetCharacterAttributes
Function SetCharacterAttributes( FirstSelectedChar As Long , LastSelectedChar As Long , FontName As String , FontStyle As Long , PointSize As Long , Underline As Long , Overline As Long , StrikeOut As Long , Placement As Long , CharacterSpacing As Long , WordSpacing As Long , LineSpacing As Long , Alignment As Long ) As Long
Description
Member of CorelScript
The SetCharacterAttributes method specifies the text attributes of a character.
Parameter
Description
FirstSelectedChar
Specifies the starting character of the selected text. The first character in a string is equal to 0 .
LastSelectedChar
Specifies the ending character of the selected text
FontName
Specifies the font name
FontStyle
Specifies the font style:
PointSize
Specifies the font size, in tenths of a point
Underline
Specifies the type of underline:
Overline
Specifies the type of overline:
StrikeOut
Specifies the type of strike-out:
Placement
Specifies the font placement:
CharacterSpacing
Specifies the character spacing, in tenths o fa percent
WordSpacing
Specifies the word spacing, in tenths of a percent
LineSpacing
Specifies the line spacing, in tenths of a percent
Alignment
Specifies the alignment:
Copyright 2013 Corel Corporation. All rights reserved.