Skip to content

Latest commit

 

History

History

SVGExample

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

SVG

The sample code shows how to add an SVG to a document with the SDK. Note that the Office requires that a .png copy of the .svg file be saved in order to display the .svg. In this example the Aspose.Svg nuget package is used to add a copy of the .svg file as a .png.

The important method in Program.cs is:

public static void AddSvg(string docPath, string svgPath)