Skip to main content
Participant
January 21, 2020
Question

Apply inline css style at export as svg

  • January 21, 2020
  • 0 replies
  • 662 views

When I do export of project in svg format the css of type <style> does not create it inline, is there a solution to creating inline style?

 

These are the options that apply to export in svg format

 

function getOptions() {

    var options = new ExportOptionsWebOptimizedSVG();

    options.cssProperties = SVGCSSPropertyLocation.STYLEELEMENTS;

    options.svgMinify = true;

    options.svgResponsive = true;

    options.rasterImageLocation = RasterImageLocation.PRESERVE;

    options.coordinatePrecision = 4;

    options.svgId = SVGIdType.SVGIDUNIQUE;

    options.fontType = SVGFontType.SVGFONT;

    return options;

}
This topic has been closed for replies.