com.aspose.words
Class EmfPlusDualRenderingMode

java.lang.Object
    extended by com.aspose.words.EmfPlusDualRenderingMode

public class EmfPlusDualRenderingMode 
extends java.lang.Object

Utility class containing constants. Specifies how Aspose.Words should render EMF+ Dual metafiles.

Example:

Shows how to adjust EMF (Enhanced Windows Metafile) rendering options when saving to PDF.
Document doc = new Document(getMyDir() + "EMF.docx");

PdfSaveOptions saveOptions = new PdfSaveOptions();
saveOptions.getMetafileRenderingOptions().setEmfPlusDualRenderingMode(renderingMode);
saveOptions.getMetafileRenderingOptions().setUseEmfEmbeddedToWmf(true);

doc.save(getArtifactsDir() + "PdfSaveOptions.RenderMetafile.pdf", saveOptions);

Field Summary
static final intEMF_PLUS_WITH_FALLBACK = 0
           Aspose.Words tries to render EMF+ part of EMF+ Dual metafile. If some of the EMF+ records are not supported then Aspose.Words renders EMF part of EMF+ Dual metafile.
static final intEMF_PLUS = 1
           Aspose.Words renders EMF+ part of EMF+ Dual metafile.
static final intEMF = 2
           Aspose.Words renders EMF part of EMF+ Dual metafile.
 

Field Detail

EMF_PLUS_WITH_FALLBACK = 0

public static final int EMF_PLUS_WITH_FALLBACK
Aspose.Words tries to render EMF+ part of EMF+ Dual metafile. If some of the EMF+ records are not supported then Aspose.Words renders EMF part of EMF+ Dual metafile.

EMF_PLUS = 1

public static final int EMF_PLUS
Aspose.Words renders EMF+ part of EMF+ Dual metafile.

EMF = 2

public static final int EMF
Aspose.Words renders EMF part of EMF+ Dual metafile.

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