Main Content

setAlign

Class: ModelAdvisor.Paragraph
Namespace: ModelAdvisor

Specify paragraph alignment

Syntax

setAlign(paragraph, alignment)

Description

setAlign(paragraph, alignment) specifies the alignment of text. Possible values are:

  • 'left' (default)

  • 'right'

  • 'center'

Examples

report_paragraph = ModelAdvisor.Paragraph;
setAlign(report_paragraph, 'center');