wordWrap property
ParagraphFormat.wordWrap property
If this property is false
, Latin text in the middle of a word can be wrapped for
the current paragraph. Otherwise Latin text is wrapped by whole words.
get wordWrap(): 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
- module Aspose.Words
- class ParagraphFormat