RunRenderer

Overview

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

Renders formatted runs (text segments with fonts, colors, links).

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

Methods

SignatureDescription
__init__(writer: PDFWriterContext)None
render_formatted_runs(pdf: FPDF, runs: list[ldm.Run], align: str, newline: bool, line_h_override: Optional[float], is_toc: bool, tab_stops: Optional[ldm.TabStopCollection], default_tab_stop: float, pf: Optional[ldm.ParagraphFormat])Render runs with inline formatting: bold, italic, underline, colors, sizes.
render_formatted_runs_aligned(pdf: FPDF, runs: list[ldm.Run], align: str, line_h_override: Optional[float], is_toc: bool, pf: Optional[ldm.ParagraphFormat])Render runs with per-run formatting inside an aligned line.

See Also