public class Dml3DEffectsRenderingMode
extends java.lang.Object
Examples:
Shows how 3D effects are rendered.
Document doc = new Document(getMyDir() + "DrawingML shape 3D effects.docx");
RenderCallback warningCallback = new RenderCallback();
doc.setWarningCallback(warningCallback);
PdfSaveOptions saveOptions = new PdfSaveOptions();
saveOptions.setDml3DEffectsRenderingMode(Dml3DEffectsRenderingMode.ADVANCED);
doc.save(getArtifactsDir() + "PdfSaveOptions.Dml3DEffectsRenderingModeTest.pdf", saveOptions);
| Modifier and Type | Field and Description |
|---|---|
static int |
ADVANCED
Rendering of an extended list of special effects including advanced 3D effects such as bevels, lighting and materials.
|
static int |
BASIC
A lightweight and stable rendering, based on the internal engine, but advanced effects such as lighting, materials and other additional effects are not displayed when using this mode.
|
static int |
length |
| Modifier and Type | Method and Description |
|---|---|
static int |
fromName(java.lang.String dml3DEffectsRenderingModeName) |
static java.lang.String |
getName(int dml3DEffectsRenderingMode) |
static int[] |
getValues() |
static java.lang.String |
toString(int dml3DEffectsRenderingMode) |
public static int BASIC
public static int ADVANCED
Remarks:
The current implementation uses OpenGL. Please make sure that OpenGL library version 1.1 or higher is installed on your system before use. This mode is still under development, and some things may not be supported, so it's recommended to use the BASIC mode if the rendering result is not acceptable. Please see documentation for details.
public static int length