com.aspose.words

Class DmlEffectsRenderingMode

  • java.lang.Object
    • com.aspose.words.DmlEffectsRenderingMode
public class DmlEffectsRenderingMode 
extends java.lang.Object

Utility class containing constants. Specifies how DrawingML effects are rendered to fixed page formats.

Example:

Shows how to configure DrawingML rendering quality with PdfSaveOptions.
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 intSIMPLIFIED = 0
Rendering of DrawingML effects are simplified.
static final intNONE = 1
No DrawingML effects are rendered.
static final intFINE = 2
DrawingML effects are rendered in fine mode which involves advanced processing. In this mode rendering of effects gives better results but at a higher performance cost than SIMPLIFIED mode.
 

    • Field Detail

      • SIMPLIFIED = 0

        public static final int SIMPLIFIED
        Rendering of DrawingML effects are simplified.
      • NONE = 1

        public static final int NONE
        No DrawingML effects are rendered.
      • FINE = 2

        public static final int FINE
        DrawingML effects are rendered in fine mode which involves advanced processing. In this mode rendering of effects gives better results but at a higher performance cost than SIMPLIFIED mode.