Dml3DEffectsRenderingMode

Dml3DEffectsRenderingMode enumeration

Specifies how 3D shape effects are rendered.

public enum Dml3DEffectsRenderingMode

Values

NameValueDescription
Basic0A 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. Please see documentation for details.
Advanced1Rendering of an extended list of special effects including advanced 3D effects such as bevels, lighting and materials.

Examples

Shows how 3D effects are rendered.

Document doc = new Document(MyDir + "DrawingML shape 3D effects.docx");

RenderCallback warningCallback = new RenderCallback();
doc.WarningCallback = warningCallback;

PdfSaveOptions saveOptions = new PdfSaveOptions();
saveOptions.Dml3DEffectsRenderingMode = Dml3DEffectsRenderingMode.Advanced;

doc.Save(ArtifactsDir + "PdfSaveOptions.Dml3DEffectsRenderingModeTest.pdf", saveOptions);

See Also