---
title: "TextAlignment Enumeration"
canonical: https://customerscanvas.com/docs/cc6/customerscanvas.iframeapi.configuration.defaultconfig.textalignment.htm
archived: true
applies_to:
  - product: "Customer's Canvas On-Premises"
  - product: "Design Editor"
    versions: ["6.15.0", "6.x (may differ)"]
---

**You’re viewing outdated documentation.** [View the latest Customer’s Canvas On-Premises documentation](https://customerscanvas.com/docs/on-premises/).

# TextAlignment Enumeration

**Applies to:** Customer's Canvas On-Premises; Design Editor 6.15.0, 6.x (may differ) · **Archived documentation**
 
Text alignment types.
  
[See an example](https://customerscanvas.com/docs/cc6/customerscanvas.iframeapi.configuration.defaultconfig.htm.md).
 
## Enumeration members
 
### Center
 
Center:  = "center"

Align text along the center.
 
### Justify
 
Justify:  = "justify"

Align text along both the left and right edges.
 
### LastCenter
 
LastCenter:  = "lastCenter"

Justify text and center its last line.
 
### LastLeft
 
LastLeft:  = "lastLeft"

Justify text and align its last line to the left.
 
### LastRight
 
LastRight:  = "lastRight"

Justify text and align its last line to the right.
 
### Left
 
Left:  = "left"

Align text along the left edge.
 
### Right
 
Right:  = "right"

Align text along the right edge.
