show_paragraph_marks property

LayoutOptions.show_paragraph_marks property

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

@property
def show_paragraph_marks(self) -> bool:
    ...

@show_paragraph_marks.setter
def show_paragraph_marks(self, value: bool):
    ...

Examples

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

doc = aw.Document()
builder = aw.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.layout_options.show_paragraph_marks = show_paragraph_marks
doc.save(ARTIFACTS_DIR + 'Document.layout_options_paragraph_marks.pdf')

See Also