SvgTextOutputMode Enum

Wordize.Saving.SvgTextOutputMode enum. Allows to specify how text inside a document should be rendered when saving in SVG format.

SvgTextOutputMode enumeration

Allows to specify how text inside a document should be rendered when saving in SVG format.

public enum SvgTextOutputMode

Values

NameValueDescription
UseSvgFonts0SVG fonts are used to render text. Note, not all browsers support SVG fonts.
UseTargetMachineFonts1Fonts installed on the target machine are used to render text. Note, if some of fonts used in the document are not available on the target machine, document can look differently.
UsePlacedGlyphs2Text is rendered using curves. Note, text selection will not work if you use this option.

Examples

Shows how to configure text output mode in SVG.

SvgSaveOptions svgSaveOptions = new SvgSaveOptions();
svgSaveOptions.TextOutputMode = SvgTextOutputMode.UseSvgFonts;

Converter.Create()
    .From(MyDir + "Simple.docx")
    .To(ArtifactsDir + "SvgSaveOptions.TextOutputMode.svg", svgSaveOptions)
    .Execute();

See Also