---
title: "IncreaseFontSizeCmd | Customer&#x27;s Canvas"
canonical: "https://customerscanvas.com/docs/on-premises/design-atoms-js/reference/design-atoms-text/IncreaseFontSizeCmd/"
archived: false
applies_to:
  - product: "Customer's Canvas On-Premises"
  - product: "Customer's Canvas Hub"
    versions: ["cloud"]
    entity_id: "https://customerscanvas.com/products/hub#software-application"
  - product: "Design Atoms JS"
    versions: ["7.4"]
---

# IncreaseFontSizeCmd

**Applies to:** Customer's Canvas On-Premises; Customer's Canvas Hub cloud; Design Atoms JS 7.4

> API reference for the IncreaseFontSizeCmd module in @aurigma/design-atoms-text.

## Classes

### IncreaseFontSizeCmd

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

#### Implements

- [`ICommand`](https://customerscanvas.com/docs/on-premises/design-atoms-js/reference/design-atoms-text/ICommand.md#icommand)

#### Constructors

##### Constructor

```ts
new IncreaseFontSizeCmd(textManager, initData): IncreaseFontSizeCmd;
```

###### Parameters

| Parameter | Type |
| ------ | ------ |
| `textManager` | [`ITextManager`](https://customerscanvas.com/docs/on-premises/design-atoms-js/reference/design-atoms-text/ITextManager.md#itextmanager) |
| `initData` | [`IncreaseFontSizeCmdData`](#increasefontsizecmddata) |

###### Returns

[`IncreaseFontSizeCmd`](#increasefontsizecmd)

#### Methods

##### execute()

```ts
execute(): boolean;
```

Executes the command.

###### Returns

`boolean`

true if changes were made, false otherwise.

###### Implementation of

[`ICommand`](https://customerscanvas.com/docs/on-premises/design-atoms-js/reference/design-atoms-text/ICommand.md#icommand).[`execute`](https://customerscanvas.com/docs/on-premises/design-atoms-js/reference/design-atoms-text/ICommand.md#execute)

***

### IncreaseFontSizeCmdData

Data required to initialize the command.

#### Constructors

##### Constructor

```ts
new IncreaseFontSizeCmdData(): IncreaseFontSizeCmdData;
```

###### Returns

[`IncreaseFontSizeCmdData`](#increasefontsizecmddata)

#### Properties

##### value?

```ts
optional value?: number;
```

Value of increase.
