public class DmlRenderingMode
Example: Example:
Document doc = new Document(getMyDir() + "DrawingML shape fallbacks.docx");
PdfSaveOptions options = new PdfSaveOptions();
options.setDmlRenderingMode(dmlRenderingMode);
doc.save(getArtifactsDir() + "PdfSaveOptions.DrawingMLFallback.pdf", options);
Document doc = new Document(getMyDir() + "DrawingML shape effects.docx");
PdfSaveOptions options = new PdfSaveOptions();
options.setDmlEffectsRenderingMode(effectsRenderingMode);
Assert.assertEquals(DmlRenderingMode.DRAWING_ML, options.getDmlRenderingMode());
doc.save(getArtifactsDir() + "PdfSaveOptions.DrawingMLEffects.pdf", options);
Field Summary | ||
---|---|---|
static final int | FALLBACK | |
If fall-back shape is available for DrawingML, Aspose.Words renders fall-back shape instead of the DrawingML.
|
||
static final int | DRAWING_ML | |
Aspose.Words ignores fall-back shape of DrawingML and renders DrawingML itself.
This is the default mode.
|
public static final int FALLBACK
public static final int DRAWING_ML