ImlRenderingMode enumeration
ImlRenderingMode enumeration
Specifies how ink (InkML) objects are rendered to fixed page formats.
Members
Name | Description |
---|---|
FALLBACK | If fall-back shape is available for ink (InkML) object, Aspose.Words renders fall-back shape instead of the InkML. |
INK_ML | Aspose.Words ignores fall-back shape of ink (InkML) object and renders InkML itself. This is the default mode. |
Examples
Shows how to render Ink object.
doc = aw.Document(MY_DIR + "Ink object.docx")
# Set 'ImlRenderingMode.INK_ML' ignores fall-back shape of ink (InkML) object and renders InkML itself.
# If the rendering result is unsatisfactory,
# please use 'ImlRenderingMode.FALLBACK' to get a result similar to previous versions.
save_options = aw.saving.ImageSaveOptions(aw.SaveFormat.JPEG)
save_options.iml_rendering_mode = aw.saving.ImlRenderingMode.INK_ML
doc.save(ARTIFACTS_DIR + "ImageSaveOptions.render_ink_object.jpeg", save_options)
See Also
- module aspose.words.saving