IncreaseFontSizeCmd
Classes
IncreaseFontSizeCmd
The command to increase the font size by a specified value for the current cursor position or selected text.
Implements
Constructors
Constructor
new IncreaseFontSizeCmd(textManager, initData): IncreaseFontSizeCmd;
Parameters
| Parameter | Type |
|---|---|
textManager | ITextManager |
initData | IncreaseFontSizeCmdData |
Returns
Methods
execute()
execute(): boolean;
Executes the command.
Returns
boolean
true if changes were made, false otherwise.
Implementation of
IncreaseFontSizeCmdData
Data required to initialize the command.
Constructors
Constructor
new IncreaseFontSizeCmdData(): IncreaseFontSizeCmdData;
Returns
Properties
value?
optional value?: number;
Value of increase.