SvgSaveOptions.TextOutputMode

SvgSaveOptions TextOutputMode property. Gets or sets a value determining how text should be rendered in SVG.

SvgSaveOptions.TextOutputMode property

Gets or sets a value determining how text should be rendered in SVG.

public SvgTextOutputMode TextOutputMode { get; set; }

Remarks

Use this property to get or set the mode of how text inside a document should be rendered when saving in SVG format.

The default value is UseTargetMachineFonts.

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