The class used to create and load SVG documents.
public class SvgDocument : SvgFragment, ISvgElement, ISvgTransformable, ICloneable, ISvgNode, ISvgViewPort, ITypeDescriptorContext, IServiceProvider
kind:method, kind:property, kind:ctor. Press Esc to clear.SvgDocument()Initializes a new instance of the SvgDocument class.DisableDtdProcessingSkip the Dtd Processing for faster loading of svgs that have a DTD specified. For Example Adobe Illustrator svgs.ExternalCSSHrefGets or sets an external Cascading Style Sheet (CSS)IdManagerGets an SvgElementIdManager for this document.PpiGets or sets the Pixels Per Inch of the rendered image.ResolveExternalElementsWhich types of external elements, for example text definitions, are allowed to be resolved. Defaults to Local and Remote.ResolveExternalImagesWhich types of external images are allowed to be resolved. Defaults to Local and Remote.ResolveExternalXmlEntitesWhich types of XML external entities are allowed to be resolved. Defaults to None to prevent XXE.FromSvg<T>(String)Attempts to create an SVG document from the specified string data.GetElementById(String)Retrieves the SvgElement with the specified ID.GetElementById<TSvgElement>(String)Retrieves the SvgElement with the specified ID.Open(String)Opens the document at the specified path and loads the SVG contents.Open(XmlDocument)Opens an SVG document from the specified XmlDocument.Open<T>(Stream, SvgOptions)Opens an SVG document from the specified Stream and adds the specified entities.Open<T>(Stream, Dictionary<String, String>)Opens an SVG document from the specified Stream and adds the specified entities.Open<T>(Stream)Attempts to open an SVG document from the specified Stream.Open<T>(String, SvgOptions)Opens the document at the specified path and loads the SVG contents.Open<T>(String, Dictionary<String, String>)Opens the document at the specified path and loads the SVG contents.Open<T>(String)Opens the document at the specified path and loads the SVG contents.Open<T>(XmlReader)Attempts to open an SVG document from the specified XmlReader.OverwriteIdManager(SvgElementIdManager)Overwrites the current IdManager with a custom implementation. Be careful with this: If elements have been inserted into the document before, you have to take care that the new IdManager also knows of them.RasterizeDimensions(ref SizeF, Int32, Int32)If both or one of raster height and width is not given (0), calculate that missing value from original SVG size while keeping original SVG size ratio