ImageRenderState

ImageRenderState

Overview

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

Accumulator threaded through paragraph rendering for inline shapes.

Properties

NameTypeAccessDescription
imageslist[ImageEntry]Read
section_left_margin_mmfloatRead
section_top_margin_mmfloatRead
media_name_prefixstrRead
rel_id_prefixstrRead
doc_pr_offsetintRead
emit_wps_shapesboolRead

Methods

SignatureDescription
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.

See Also