You can find all the details at: Text Vectorization in SVG Images Programmatically using C#
Last active
June 2, 2021 18:11
-
-
Save aspose-com-gists/588ee91045549d3cc8167b1a1377744b to your computer and use it in GitHub Desktop.
Text Vectorization in SVG Images Programmatically using C#
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Load input SVG image file from a URL | |
SVGDocument document = new SVGDocument("http://www1.plurib.us/1shot/2008/circle_design/circles_single.svg"); | |
// Initialize SVGSaveOptions class object | |
SVGSaveOptions saveOptions = new SVGSaveOptions | |
{ | |
VectorizeText = true | |
}; | |
// Save oytput SVG image | |
document.Save("vectorized_text_out.svg", saveOptions); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Load an SVG document from a file | |
var document = new SVGDocument("Text.svg"); | |
// Set text elements vectorization | |
var saveOptions = new SVGSaveOptions | |
{ | |
VectorizeText = true | |
}; | |
// Save the SVG document with specified saveOptions | |
document.Save("Text_vectorized.svg", saveOptions); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment