SVG support

Skip Navigation LinksHome  /  Support  /  Forums  /  DynamicPDF Generator for .NET (v4)  /  Re: SVG support

DynamicPDF Generator for .NET (v4) Forum

 Dec 15 2009 12:00 PM
I am looking for support on embedding an SVG file into a PDF using the .NET DynamicPDF. Is this a currently support scenario? if not, future support options?

Thanks,

Jeremy
 Dec 15 2009 12:48 PM
Posted by a ceTe Software moderator
Hello Jeremy,

Yes, you can embed the SVG files in the PDF document without any problem. You will have to add attachments to the PDF using the below code.

     Document document = new Document();
     document.Pages.Add(new Page());
     document.EmbeddedFiles.Add(new EmbeddedFile(@"C:\Temp\Nativity.svg"));
     document.Draw(@"C:\Temp\test.pdf");

If you are trying to add the SVG image to the PDF document normally to see on the page then it is not possible. SVG format is not support to add using the Image object. Please refer to the supported Image Formats on our help documentation for adding images.

Thanks,
ceTe Software Support Team.
 Dec 15 2009 12:52 PM
Thanks for the reply,

i did post this in the 4.x forum when I am using 5.x but i doubt that changes anything

has there ever been consideration to adding SVG to the list of supported formats for the Image class? it is the new standard for vector images after all
 Dec 15 2009 2:05 PM
Posted by a ceTe Software moderator
Hello Jeremy,

We do not have any immediate plans to add support for adding SVG images using the Image page element. We do have this on our wishlist and will likely be added in the future versions of our product.

Thanks,
ceTe Software Support Team
 Dec 16 2014 9:58 PM
Is this supported yet?  It's been 5 years.
 Dec 18 2014 11:59 AM
Posted by a ceTe Software moderator
Hello,

While we do have this feature added to our “Wish List” (and have had it there for some time) the likelihood of us getting this implemented and added to an upcoming release is not very high.  Specifically, this feature is of extreme complexity and the popularity of needing it added (by our customer and potential customers) just is not that high.  So while we have had a couple requests over the years, it remains on our list with a pretty low priority.  I wanted to point this out as to not lead you on to thinking we were in anyway close to a release.

If we ever start implementation of this type of feature we would update any related forums with details and offer betas for testing.

Let us know if you have any other questions about this.

Thanks,
ceTe Software Support.
 Dec 18 2014 12:19 PM
Thank you for the clarity of your response.

All times are US Eastern Standard time. The time now is 11:55 AM.