ImageRenderState
Overview
ImageRenderState is a class in Aspose.Words FOSS for Python.
Accumulator threaded through paragraph rendering for inline shapes.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
images | list[ImageEntry] | Read | |
section_left_margin_mm | float | Read | |
section_top_margin_mm | float | Read | |
media_name_prefix | str | Read | |
rel_id_prefix | str | Read | |
doc_pr_offset | int | Read | |
emit_wps_shapes | bool | Read |
Methods
| Signature | Description |
|---|---|
render_inline_shape(shape: ldm.ShapeNode, rels: Optional[dict], num_id_map: Optional[Mapping[int, int]], bookmark_state: Optional[BookmarkState], style_pf_map: Optional[Mapping[str, ldm.ParagraphFormat]], style_id_map: Optional[Mapping[str, str]], style_font_map: Optional[Mapping[str, ldm.Font]]) → Optional[str] | Emit <w:r><w:drawing>…</w:drawing></w:r> for shape. |
set_section_margins(page_setup: "ldm.PageSetup") | Update the cached section margins. |