---
title: IDrawTextOptions
product: PDF Generator
api-type: interface
description: An object that configures rendering a piece of text.
source: https://surveyjs.io/pdf-generator/documentation/api-reference/idrawtextoptions
---

# `IDrawTextOptions`

An object that configures rendering a piece of text.

## Inheritance

[`IDrawRectOptions`](https://surveyjs.io/pdf-generator/documentation/api-reference/idrawrectoptions.md) &rarr; `IDrawTextOptions`

## Properties

### `fontSize`

**Type**: `number`

Font size in points.

Default value: 14

### `isBold`

**Type**: `boolean`

Enable this property to render the text string bold.

Default value: `false`

### `text`

**Type**: `string`

A text string to be drawn.
