farEastLineBreakControl property

ParagraphFormat.farEastLineBreakControl property

Gets or sets a flag indicating whether East Asian line-breaking rules are applied to the current paragraph.

get farEastLineBreakControl(): boolean

Examples

Shows how to set special properties for Asian typography.

let doc = new aw.Document(base.myDir + "Document.docx");

let format = doc.firstSection.body.firstParagraph.paragraphFormat;
format.farEastLineBreakControl = true;
format.wordWrap = false;
format.hangingPunctuation = true;

doc.save(base.artifactsDir + "ParagraphFormat.AsianTypographyProperties.docx");

See Also