Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ImportedProjects
SVG
Commits
7400ea08
Commit
7400ea08
authored
Mar 01, 2019
by
H1Gdev
Committed by
mrbean-bremen
Mar 01, 2019
Browse files
Output text from SVG file.
parent
dfb495af
Changes
1
Hide whitespace changes
Inline
Side-by-side
Samples/SVGViewer/SvgViewer.cs
View file @
7400ea08
...
@@ -28,6 +28,11 @@ namespace SVGViewer
...
@@ -28,6 +28,11 @@ namespace SVGViewer
{
{
SvgDocument
svgDoc
=
SvgDocument
.
Open
(
openSvgFile
.
FileName
);
SvgDocument
svgDoc
=
SvgDocument
.
Open
(
openSvgFile
.
FileName
);
RenderSvg
(
svgDoc
);
RenderSvg
(
svgDoc
);
XmlDocument
xmlDoc
=
new
XmlDocument
();
xmlDoc
.
XmlResolver
=
null
;
xmlDoc
.
Load
(
openSvgFile
.
FileName
);
textBox1
.
Text
=
xmlDoc
.
InnerXml
;
}
}
}
}
catch
catch
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment