hangingPunctuation property
ParagraphFormat.hangingPunctuation property
Gets or sets a flag indicating whether hanging punctuation is enabled for the current paragraph.
get hangingPunctuation(): 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