RunRenderer

Overview

RunRenderer 是Python的Aspose.Words FOSS中的一个类.

呈现格式化运行 (带字体,颜色和链接的文本段).

这个类提供了在Python程序中使用RunRenderer 对象的3种方法. 有的方法包括: __init__, render_formatted_runs, render_formatted_runs_aligned. 在安装Python包的Aspose.Words FOSS后,所有公众成员都可以访问任何 Python 应用程序.

Methods

SignatureDescription
__init__(writer: PDFWriterContext)
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_formatted_runs_aligned(pdf: FPDF, runs: list[ldm.Run], align: str, line_h_override: Optional[float], is_toc: bool, pf: Optional[ldm.ParagraphFormat])染器运行时,每次运行的格式化在对齐线内.

See Also

 中文