Hello,
I'm trying to convert a presentation to HTML and I'm passing in an SVGOptions object with VectorizeText = True. However, when I export the file, the text is still rendered as text instead of converted to paths. This is the code I'm using:
string file = args[0];
try
{
Console.WriteLine("Converting presentation to HTML:");
PresentationEx presentation = new PresentationEx(file);
HtmlOptions exportOptions = new HtmlOptions();
exportOptions.SlideImageFormat = SlideImageFormat.Svg(new SVGOptions { VectorizeText = true });
presentation.Save(args[0] + ".html", SaveFormat.Html, exportOptions);
Console.WriteLine("Successfully converted slide to HTML+SVG.");
}
catch (Exception e)
{
Console.WriteLine("An error occurred converting your presentation to HTML: ");
Console.WriteLine(e.Message);
}
Any ideas?
Also, is it possible to pass in SVGOptions when saving individual slides using the SaveAsSvgStream method?
Donal