LayoutOptions.ShowParagraphMarks property

Gets or sets indication of whether paragraph marks are rendered. Default is false.

public bool ShowParagraphMarks { get; set; }


Shows how to show paragraph marks in a rendered output document.

Document doc = new Document();
DocumentBuilder builder = new DocumentBuilder(doc);
// Add some paragraphs, then enable paragraph marks to show the ends of paragraphs
// with a pilcrow (¶) symbol when we render the document.
builder.Writeln("Hello world!");
builder.Writeln("Hello again!");

doc.LayoutOptions.ShowParagraphMarks = showParagraphMarks;

doc.Save(ArtifactsDir + "Document.LayoutOptionsParagraphMarks.pdf");

See Also