SetAlignment Text Command

SETALIGNMENT Text Commands

Sets the paragraph alignment for the paragraph at the insertion point, for selected paragraphs or for a style tag.

setalignment [DOCUMENT name | WINDOW name | STYLETAG name]

alignment/k Sets the alignment type.

Options: JUSTIFY Sets justified alignment.
LEFT Sets flush left alignment.
CENTER Sets centered alignment.
RIGHT Sets flush right alignment.

DOCUMENT/s The document name. Default=current.

WINDOW/s The window name. Default=current.

STYLETAG/s Sets the attribute for a style tag.

Examples:

setalignment left styletag 'Body Text'

setalignment justify document 'project.doc'

 

SetAlignment  Command Definition  url:PGScmd/setalignment
  created:2006-03-31 10:52:52   last updated:2006-03-31 10:52:52
  Copyright © 1985-2024 GrasshopperLLC. All Rights Reserved.

User Contributed Comments For SetAlignment
Dan Kilroy wrote...2006-05-04 17:04:54

Script command submitted from PageStream internal documentation. Needs to be checked and merged with the command documentation above.

Gets the {...} .

SetAlignment ([JUSTIFY | LEFT | CENTER | RIGHT] [DOCUMENT document | WINDOW document-window | STYLETAG document:...-tagname])


Parameters:


Results:


Notes:


See Also:


Examples:
Python:


ARexx:

Applescript:

User Contributed Comments For SetAlignment