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

export to SVG with viewbox set to document size?

Community Beginner ,
Feb 23, 2021 Feb 23, 2021

Copy link to clipboard

Copied

Hi there.
Is there a way to export an AI-document to SVG (with internal CSS) in such a way, that the SVG viewbox matches the document size in AI? 
Thanks

TOPICS
Import and export

Views

2.1K

Translate

Translate

Report

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

correct answers 1 Correct answer

Community Beginner , Feb 23, 2021 Feb 23, 2021

Nope, that didn't do it. I used a combination of "export with canvas" and javascript to adjust the viewport settings in the SVG. If there really is no way of "set SVG viewport size to canvas size", I wish Adobe would add that.

Votes

Translate

Translate
Adobe
Community Beginner ,
Feb 23, 2021 Feb 23, 2021

Copy link to clipboard

Copied

Edit: found it I think. I got the german version of AI, but I'd assume that the english version calls this option "export with canvas" or something like that.

Votes

Translate

Translate

Report

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
Community Beginner ,
Feb 23, 2021 Feb 23, 2021

Copy link to clipboard

Copied

LATEST

Nope, that didn't do it. I used a combination of "export with canvas" and javascript to adjust the viewport settings in the SVG. If there really is no way of "set SVG viewport size to canvas size", I wish Adobe would add that.

Votes

Translate

Translate

Report

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