image_resolution property

MarkdownSaveOptions.image_resolution property

Specifies the output resolution for images when exporting to Markdown. Default is 96 dpi.

@property
def image_resolution(self) -> int:
    ...

@image_resolution.setter
def image_resolution(self, value: int):
    ...

Examples

Shows how to set the output resolution for images.

doc = aw.Document(file_name=MY_DIR + 'Rendering.docx')
save_options = aw.saving.MarkdownSaveOptions()
save_options.image_resolution = 300
doc.save(file_name=ARTIFACTS_DIR + 'MarkdownSaveOptions.ImageResolution.md', save_options=save_options)

See Also