Skip to main content

DecreaseFontSizeCmd

Classes​

DecreaseFontSizeCmd​

The command to decrease the font size by a specified value for the current cursor position or selected text.

Implements​

Constructors​

Constructor​
new DecreaseFontSizeCmd(textManager, initData): DecreaseFontSizeCmd;
Parameters​
ParameterType
textManagerITextManager
initDataDecreaseFontSizeCmdData
Returns​

DecreaseFontSizeCmd

Methods​

execute()​
execute(): boolean;

Executes the command.

Returns​

boolean

true if changes were made, false otherwise.

Implementation of​

ICommand.execute


DecreaseFontSizeCmdData​

Data required to initialize the command.

Constructors​

Constructor​
new DecreaseFontSizeCmdData(): DecreaseFontSizeCmdData;
Returns​

DecreaseFontSizeCmdData

Properties​

value?​
optional value?: number;

Value of decrease.

Was this page helpful?