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(file_name=MY_DIR + 'Ink object.docx')
# Set 'ImlRenderingMode.InkML' 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(file_name=ARTIFACTS_DIR + 'ImageSaveOptions.RenderInkObject.jpeg', save_options=save_options)
See Also
- module aspose.words.saving