---
title: Text justification
framework: quicktime-file-format
role: symbol
role_heading: Data field
path: quicktime-file-format/text_sample_description/text_justification
---

# Text justification

A 32-bit integer that indicates how the text should be aligned.

## Overview

Overview Set this field to 0 for left-justified text, to 1 for centered text, and to –1 for right-justified text.

## See Also

### Data fields

- [Display flags](quicktime-file-format/text_sample_description/display_flags.md)
- [Background color](quicktime-file-format/text_sample_description/background_color.md)
- [Default text box](quicktime-file-format/text_sample_description/default_text_box.md)
- [Reserved](quicktime-file-format/text_sample_description/reserved.md)
- [Font number](quicktime-file-format/text_sample_description/font_number.md)
- [Font face](quicktime-file-format/text_sample_description/font_face.md)
- [Reserved](quicktime-file-format/text_sample_description/reserved2.md)
- [Reserved](quicktime-file-format/text_sample_description/reserved3.md)
- [Foreground color](quicktime-file-format/text_sample_description/foreground_color.md)
- [Text name](quicktime-file-format/text_sample_description/text_name.md)
