Aspose::Words::Saving::ImlRenderingMode enum
Contents
[
Hide
]ImlRenderingMode enum
Specifies how ink (InkML) objects are rendered to fixed page formats.
enum class ImlRenderingMode
Values
Name | Value | Description |
---|---|---|
Fallback | 0 | If fall-back shape is available for ink (InkML) object, Aspose.Words renders fall-back shape instead of the InkML. |
InkML | 1 | 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.
auto doc = MakeObject<Document>(MyDir + u"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.
auto saveOptions = MakeObject<ImageSaveOptions>(SaveFormat::Jpeg);
saveOptions->set_ImlRenderingMode(ImlRenderingMode::InkML);
doc->Save(ArtifactsDir + u"ImageSaveOptions.RenderInkObject.jpeg", saveOptions);
See Also
- Namespace Aspose::Words::Saving
- Library Aspose.Words for C++