Class SvgDocument
Represents the SVG document.
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Syncfusion.Windows.Forms.Chart.SvgBase
Assembly: Syncfusion.Chart.Base.dll
Syntax
public sealed class SvgDocument : Element, IElement
Constructors
SvgDocument()
Initializes a new instance of the SvgDocument class.
Declaration
public SvgDocument()
Properties
Defs
Gets the defs.
Declaration
public DefsElement Defs { get; }
Property Value
Type | Description |
---|---|
DefsElement | The defs. |
Svg
Gets the SVG.
Declaration
public SvgElement Svg { get; }
Property Value
Type | Description |
---|---|
SvgElement | The SVG. |
Methods
CanAddChild(Element)
Determines whether the specified child is allowed to add to the this element.
Declaration
protected override bool CanAddChild(Element elem)
Parameters
Type | Name | Description |
---|---|---|
Element | elem | The elem. |
Returns
Type | Description |
---|---|
System.Boolean |
|
Overrides
FindElement(String)
Finds the element.
Declaration
public Element FindElement(string id)
Parameters
Type | Name | Description |
---|---|---|
System.String | id | The id. |
Returns
Type | Description |
---|---|
Element | Returns the specific Element for the given id. |
Load(String)
Loads the specified flianame.
Declaration
public void Load(string flianame)
Parameters
Type | Name | Description |
---|---|---|
System.String | flianame | The flianame. |
Save(Stream)
Saves the SVG document in a stream
Declaration
public void Save(Stream stream)
Parameters
Type | Name | Description |
---|---|---|
System.IO.Stream | stream | The stream. |
Save(String)
Saves the specified filename.
Declaration
public void Save(string filename)
Parameters
Type | Name | Description |
---|---|---|
System.String | filename | The filename. |