public class ImlRenderingMode
extends java.lang.Object
Examples:
Shows how to render Ink object.
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);
| Modifier and Type | Field and Description |
|---|---|
static int |
FALLBACK
If fall-back shape is available for ink (InkML) object, Aspose.Words renders fall-back shape instead of the InkML.
|
static int |
INK_ML
Aspose.Words ignores fall-back shape of ink (InkML) object and renders InkML itself.
|
static int |
length |
| Modifier and Type | Method and Description |
|---|---|
static int |
fromName(java.lang.String imlRenderingModeName) |
static java.lang.String |
getName(int imlRenderingMode) |
static int[] |
getValues() |
static java.lang.String |
toString(int imlRenderingMode) |
public static int FALLBACK
Remarks:
Please note that after saving a document to a fixed page format with fall-back rendering mode, InkML objects in the AW document model are permanently replaced with their fall-back counterparts. As a result, saving the same document again will always use fall-back shapes, even if ImlRenderingMode is set to INK_ML.
public static int INK_ML
public static int length