DmlRenderingMode
Contents
[
Hide
]Inheritance: java.lang.Object
public class DmlRenderingMode
Specifies how DrawingML shapes are rendered to fixed page formats.
Fields
Field | Description |
---|---|
DRAWING_ML | Aspose.Words ignores fall-back shape of DrawingML and renders DrawingML itself. |
FALLBACK | If fall-back shape is available for DrawingML, Aspose.Words renders fall-back shape instead of the DrawingML. |
length |
Methods
Method | Description |
---|---|
fromName(String dmlRenderingModeName) | |
getName(int dmlRenderingMode) | |
getValues() | |
toString(int dmlRenderingMode) |
DRAWING_ML
public static int DRAWING_ML
Aspose.Words ignores fall-back shape of DrawingML and renders DrawingML itself. This is the default mode.
FALLBACK
public static int FALLBACK
If fall-back shape is available for DrawingML, Aspose.Words renders fall-back shape instead of the DrawingML.
Remarks:
Please note that after saving a document to a fixed page format with fall-back DML rendering mode, DML shapes 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 DmlRenderingMode is set to DRAWING_ML.
length
public static int length
fromName(String dmlRenderingModeName)
public static int fromName(String dmlRenderingModeName)
Parameters:
Parameter | Type | Description |
---|---|---|
dmlRenderingModeName | java.lang.String |
Returns: int
getName(int dmlRenderingMode)
public static String getName(int dmlRenderingMode)
Parameters:
Parameter | Type | Description |
---|---|---|
dmlRenderingMode | int |
Returns: java.lang.String
getValues()
public static int[] getValues()
Returns: int[]
toString(int dmlRenderingMode)
public static String toString(int dmlRenderingMode)
Parameters:
Parameter | Type | Description |
---|---|---|
dmlRenderingMode | int |
Returns: java.lang.String