com.aspose.words
Class DmlEffectsRenderingMode

java.lang.Object
    extended by 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");

// Creating a new PdfSaveOptions object and setting its DmlEffectsRenderingMode to "None" will
// strip the shapes of all their shading effects in the output pdf
PdfSaveOptions options = new PdfSaveOptions();
options.setDmlEffectsRenderingMode(DmlEffectsRenderingMode.NONE);
options.setDmlRenderingMode(DmlRenderingMode.FALLBACK);

doc.save(getArtifactsDir() + "PdfSaveOptions.DrawingML.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.

See Also:
          Aspose.Words Documentation - the home page for the Aspose.Words Product Documentation.
          Aspose.Words Support Forum - our preferred method of support.