ParagraphRenderer
Vue de l’ensemble
‘ParagraphRenderer’ est une classe dans Aspose.Words FOSS pour Python.
Render les paragraphes LDM en PDF.
Cette classe fournit 3 méthodes pour travailler avec les objets ParagraphRenderer dans les programmes Python. Les méthodologies disponibles comprennent: __init__, line_height_mm et render_paragraf. Tous les membres publics sont accessibles à n’importe quelle application Pythone après l’installation de la version Aspose.Words FOSS pour le package PyThone.
méthodes
| Signature | Description |
|---|---|
__init__(writer: PDFWriterContext) | |
line_height_mm(size_pt: float, pf: ldm.ParagraphFormat) → float | Return 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. |
Voir aussi
- Aspose.Words pour Python — Enterprise API Reference