Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Apply inline css style at export as svg

New Here ,
Jan 21, 2020 Jan 21, 2020

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;

}
TOPICS
Import and export , Scripting , Tools
671
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
no replies

Have something to add?

Join the conversation
Adobe