Skip to main content

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
ParameterType
textManagerITextManager
initDataIncreaseFontSizeCmdData
Returns

IncreaseFontSizeCmd

Methods

execute()
execute(): boolean;

Executes the command.

Returns

boolean

true if changes were made, false otherwise.

Implementation of

ICommand.execute


IncreaseFontSizeCmdData

Data required to initialize the command.

Constructors

Constructor
new IncreaseFontSizeCmdData(): IncreaseFontSizeCmdData;
Returns

IncreaseFontSizeCmdData

Properties

value?
optional value?: number;

Value of increase.

Was this page helpful?