# FontFaceDefinition.weight Property

> FontFaceDefinition.weight property in the TX Sheet Control TypeScript API for Node.js, with its type string | number and a TypeScript example.

- **Product:** TX Sheet Control
- **Section:** Documentation
- **Kind:** Property
- **Path:** TX Sheet Control > API Reference > TypeScript API > Node.js Server > FontFaceDefinition > FontFaceDefinition.weight Property
- **382 words**
- **Web URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/fontfacedefinition/weight-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/fontfacedefinition/weight-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/fontfacedefinition/weight-property/llms-full.txt

---

The weight value of FontFaceDefinition.

Owner: [FontFaceDefinition](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/fontfacedefinition/llms-full.txt). Package: `@txtextcontrol/tx-sheet-control-server`. Version: **2.0.0**.

### Syntax

```typescript
weight: string | number
```

Read through the owning object: `owner.weight`. Follow the declared mutability and owning object lifetime.

### Examples

Pass the FontFaceDefinition value obtained from its owning control, collection, callback or operation. The function reads that value without constructing a replacement document object.

```typescript
import type { FontCatalog } from '@txtextcontrol/tx-sheet-control-server';

function inspectFontFaceDefinitionWeight(fontFaceDefinition: FontCatalog['families'][number]['faces'][number]) {
    const value = fontFaceDefinition['weight'];
    console.log('FontFaceDefinition.weight', value);
}
```

### Remarks

Use this member on an object from the current document. Reacquire document-bound handles after replacement/deletion. Validate arguments against the declared types and documented bounds; handle exceptions or rejected promises.

### See Also

- [FontFaceDefinition Interface](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/fontfacedefinition/llms-full.txt)
- [Font Handling](https://docs.textcontrol.com/tx-sheet-control/deployment/fonts/llms-full.txt)

---

## Nearby

- **Previous:** [FontFaceDefinition.url Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/fontfacedefinition/url-property/llms-full.txt)
- **Next:** [FontFamilyDefinition Interface](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/fontfamilydefinition/llms-full.txt)
