HangingPunctuation

ParagraphFormat.HangingPunctuation property

Gets or sets a flag indicating whether hanging punctuation is enabled for the current paragraph.

public bool HangingPunctuation { get; set; }

Examples

Shows how to set special properties for Asian typography.

Document doc = new Document(MyDir + "Document.docx");

ParagraphFormat format = doc.FirstSection.Body.FirstParagraph.ParagraphFormat;
format.FarEastLineBreakControl = true;
format.WordWrap = false;
format.HangingPunctuation = true;

doc.Save(ArtifactsDir + "ParagraphFormat.AsianTypographyProperties.docx");

See Also