FixedPageColorMode Enum
Wordize.Saving.FixedPageColorMode enum. Specifies how colors are rendered.
FixedPageColorMode enumeration
Specifies how colors are rendered.
public enum FixedPageColorMode
Values
Name | Value | Description |
---|---|---|
Normal | 0 | Rendering with unmodified colors. |
Grayscale | 1 | Rendering with colors in a range of gray shades from white to black. |
Examples
Shows how to specify document rendering color mode.
XpsSaveOptions xpsSaveOptions = new XpsSaveOptions();
xpsSaveOptions.ColorMode = FixedPageColorMode.Grayscale;
Converter.Create()
.From(MyDir + "Simple.docx")
.To(ArtifactsDir + "FixedPageSaveOptions.ColorMode.xps", xpsSaveOptions)
.Execute();
See Also
- namespace Wordize.Saving
- assembly Wordize