# Size Object

> Stores a pair of numbers which specify a height and width.

- **Product:** TX Text Control .NET Server
- **Section:** Reference
- **Kind:** Object
- **Introduced:** 25.0
- **Path:** TX Text Control .NET Server > Reference > JavaScript API > Size Object
- **255 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/size/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/size/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/size/llms-full.txt

---

### Description

Stores a pair of numbers which specify a height and width.

### Syntax

```javascript
{
   width: <number>,
   height: <number>
}
```

### Examples

The following example demonstrates `Size` in a practical document-editing workflow. Stores a pair of numbers which specify a height and width.

```javascript
function inspectSize(size) {
    console.log("width:", size.width);
    console.log("height:", size.height);
}
```

---

## In This Section

- [Javascript: Size.height Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/size/height-property/llms-full.txt): The height.
- [Javascript: Size.width Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/size/width-property/llms-full.txt): The width.

---

## Nearby

- **Previous:** [Javascript: SignerData.title Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/signerdata/title-property/llms-full.txt)
- **Next:** [Javascript: Size.height Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/size/height-property/llms-full.txt)
