ParagraphRenderer

ParagraphRenderer

Overview

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

将LDM段落转换为PDF.

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

Methods

SignatureDescription
__init__(writer: PDFWriterContext)
line_height_mm(size_pt: float, pf: ldm.ParagraphFormat)float返回线高为毫米的运行 size_pt 内部 **.
render_paragraph(pdf: FPDF, para: ldm.Paragraph)转换一个段落到PDF中.

See Also

 中文