public class ImlRenderingMode
Example:
Document doc = new Document(getMyDir() + "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.
ImageSaveOptions saveOptions = new ImageSaveOptions(SaveFormat.JPEG);
{
saveOptions.setImlRenderingMode(ImlRenderingMode.INK_ML);
}
doc.save(getArtifactsDir() + "ImageSaveOptions.RenderInkObject.jpeg", saveOptions);
Field Summary | ||
---|---|---|
static final int | FALLBACK | |
If fall-back shape is available for ink (InkML) object, Aspose.Words renders fall-back shape instead of the InkML.
|
||
static final int | INK_ML | |
Aspose.Words ignores fall-back shape of ink (InkML) object and renders InkML itself.
This is the default mode.
|
public static final int FALLBACK
public static final int INK_ML