ParagraphRenderer

ParagraphRenderer

Overview

ParagraphRenderer is a class in Aspose.Words FOSS for Python.

Renders LDM paragraphs into PDF.

This class provides 3 methods for working with ParagraphRenderer objects in Python programs. Available methods include: __init__, line_height_mm, render_paragraph. All exported members are accessible to any Python application after installing the Aspose.Words FOSS for Python package.

Methods

SignatureDescription
__init__(writer: PDFWriterContext)None
line_height_mm(size_pt: float, pf: ldm.ParagraphFormat)floatReturn the line height in mm for a run of size_pt inside pf.
render_paragraph(pdf: FPDF, para: ldm.Paragraph)Render a single paragraph into the PDF.

See Also