Skip to content

Function: setTextAlign() ​

ts
function setTextAlign(alignment): Command;

Align the selected paragraphs and headings.

Parameters ​

ParameterType
alignmentTextAlignment

Returns ​

Command