---
layout: page
title: "Pad Text"
node_type: "nodetool.text.PadText"
namespace: "nodetool.text"
---

**Type:** `nodetool.text.PadText`

**Namespace:** `nodetool.text`

## Description

Pads text to a target length.
    text, pad, length, format

## Properties

| Property | Type | Description | Default |
|----------|------|-------------|---------|
| text | `str` |  | `` |
| length | `int` |  | `0` |
| pad_character | `str` | Single character to use for padding | ` ` |
| direction | `enum` | Where padding should be applied | `right` |

## Outputs

| Output | Type | Description |
|--------|------|-------------|
| output | `str` |  |

## Related Nodes

Browse other nodes in the [nodetool.text](../) namespace.
