GoDigram for .NET Framework and .NET Core
Northwoods.Go.Svg Namespace / GoSvgWriter Class
Properties Methods


In This Topic
    GoSvgWriter Class Members
    In This Topic

    The following tables list the members exposed by GoSvgWriter.

    Public Constructors
     NameDescription
    Public ConstructorConstruct a GoSvgWriter that produces SVG.  
    Top
    Public Properties
     NameDescription
    Public Property Gets or sets whether to generate cursors to be shown when the user's pointer is over an object.  
    Public Property Gets or sets the "xmlns" attribute namespace to be defined for the root element. (Inherited from Northwoods.Go.Xml.GoXmlWriter)
    Public Property Gets or sets whether to exclude any XML instructions before the root element.  
    Public Property Gets the parent object of the current parent object when consuming or generating the body of an element. (Inherited from Northwoods.Go.Xml.GoXmlReaderWriterBase)
    Public PropertyGets or sets whether Northwoods.Go.Xml.GoXmlWriter.GenerateObjects makes two passes over the collection of Northwoods.Go.Xml.GoXmlWriter.Objects, generating the objects that implement IGoNode first before generating the other objects. (Inherited from Northwoods.Go.Xml.GoXmlWriter)
    Public Property Gets or sets the collection of objects to be generated. (Inherited from Northwoods.Go.Xml.GoXmlWriter)
    Public PropertyGets or sets whether SVG should be generated for objects that are outside of the View's current DocExtent or the docExtent parameter supplied to Generate(RectangleF,Single,Stream).  
    Public PropertyGets an List of Object acting as a stack of Objects that have been created during the walking of the XML tree during Consume, or that have been seen during Generate. (Inherited from Northwoods.Go.Xml.GoXmlReaderWriterBase)
    Public Property Gets or sets whether to paint the view's background and draw any view objects.  
    Public Property Gets or sets whether to generate panning and zooming controls for the user.  
    Public Property Gets the current parent object when consuming or generating the body of an element. (Inherited from Northwoods.Go.Xml.GoXmlReaderWriterBase)
    Public Property Gets or sets the name of the root element. (Inherited from Northwoods.Go.Xml.GoXmlWriter)
    Public Property Gets or sets the pathname for the script file defining most of the functions needed for event handling.  
    Public Property Gets or sets whether to generate interactive or static SVG.  
    Public Property Gets or sets whether to allow the user to select objects.  
    Public Property Gets or sets whether to generate script for handling tooltips.  
    Public Property Gets or sets an object holding additional information for use by your application; this property is not used by GoXml. (Inherited from Northwoods.Go.Xml.GoXmlReaderWriterBase)
    Public Property Gets or sets the view used to limit the rendering extent and provide a background and view objects such as a grid and selection handles.  
    Public PropertyGets or sets the XmlElement that is being constructed when creating a DOM rather than writing directly to a Northwoods.Go.Xml.GoXmlWriter.XmlWriter. (Inherited from Northwoods.Go.Xml.GoXmlWriter)
    Public PropertyGets the XmlDocument that is constructed by Northwoods.Go.Xml.GoXmlWriter.Generate when not writing directly to a stream with Northwoods.Go.Xml.GoXmlWriter.XmlWriter. (Inherited from Northwoods.Go.Xml.GoXmlWriter)
    Public PropertyGets the XmlWriter used to actually write XML to the output stream. (Inherited from Northwoods.Go.Xml.GoXmlWriter)
    Public PropertyGets or sets the XmlWriterSettings used in the call to XmlWriter.Create to customize the XmlWriter. (Inherited from Northwoods.Go.Xml.GoXmlWriter)
    Top
    Public Methods
     NameDescription
    Public MethodCause this XML writer to use the given Northwoods.Go.Xml.IGoXmlTransformer for objects of the type given by the transformer's Northwoods.Go.Xml.IGoXmlTransformer.TransformerType. (Inherited from Northwoods.Go.Xml.GoXmlReaderWriterBase)
    Public Method Remove all objects from the table of shared objects. (Inherited from Northwoods.Go.Xml.GoXmlWriter)
    Public Method If the given object is not already known to be a shared object, define it and generate it, so that you can use simple ID references to the shared object both during generation and during consumption. (Inherited from Northwoods.Go.Xml.GoXmlWriter)
    Public Method This may produce shared elements that precede the regular rendering of the objects. (Inherited from Northwoods.Go.Xml.GoXmlWriter)
    Public Method Find an identifier associated with an object that can be referenced. (Inherited from Northwoods.Go.Xml.GoXmlWriter)
    Public MethodReturns the first Northwoods.Go.Xml.IGoXmlTransformer associated with a given type or its base types. (Inherited from Northwoods.Go.Xml.GoXmlReaderWriterBase)
    Public MethodOverloaded.   
    Public Method This produces an element for an object, including any nested elements that help represent the rendering. (Inherited from Northwoods.Go.Xml.GoXmlWriter)
    Public MethodReturn a URI so that an <a> element can be generated for an object, so that the user can click on that object in order to view the resource.  
    Public Method Look up the namespace URI for a prefix string. (Inherited from Northwoods.Go.Xml.GoXmlWriter)
    Public Method Return a document-wide unique string identifier for the given object, or null if cannot be selected in the SVG document.  
    Public MethodReturns the Northwoods.Go.Xml.IGoXmlTransformer associated with a given type. (Inherited from Northwoods.Go.Xml.GoXmlReaderWriterBase)
    Public MethodCall the Northwoods.Go.Xml.IGoXmlTransformer.GenerateAttributes method of the Northwoods.Go.Xml.IGoXmlTransformer that is associated with the given type. (Inherited from Northwoods.Go.Xml.GoXmlWriter)
    Public MethodCall the Northwoods.Go.Xml.IGoXmlTransformer.GenerateBody method of the Northwoods.Go.Xml.IGoXmlTransformer that is associated with the given type. (Inherited from Northwoods.Go.Xml.GoXmlWriter)
    Public MethodCall the Northwoods.Go.Xml.IGoXmlTransformer.GenerateDefinitions method of the Northwoods.Go.Xml.IGoXmlTransformer that is associated with the given type. (Inherited from Northwoods.Go.Xml.GoXmlWriter)
    Public MethodCall the Northwoods.Go.Xml.IGoXmlTransformer.GenerateElement method of the Northwoods.Go.Xml.IGoXmlTransformer that is associated with the given type. (Inherited from Northwoods.Go.Xml.GoXmlWriter)
    Public MethodCall the Northwoods.Go.Xml.IGoXmlTransformer.GenerateElementFinish method of the Northwoods.Go.Xml.IGoXmlTransformer that is associated with the given type. (Inherited from Northwoods.Go.Xml.GoXmlWriter)
    Public MethodCall the Northwoods.Go.Xml.IGoXmlTransformer.SkipGeneration method of the Northwoods.Go.Xml.IGoXmlTransformer that is associated with the given type. (Inherited from Northwoods.Go.Xml.GoXmlWriter)
    Public Method Add an object to the table of shared objects. (Inherited from Northwoods.Go.Xml.GoXmlWriter)
    Public MethodOverridden. This adds instances of GoSvgGenerator for all the standard GoDiagram classes needed to render a view.  
    Public Method Define the namespace URI for a prefix string, used when writing prefixed attribute names. (Inherited from Northwoods.Go.Xml.GoXmlWriter)
    Public MethodCause this XML writer to use the given Northwoods.Go.Xml.IGoXmlTransformer for objects of the type given by t. (Inherited from Northwoods.Go.Xml.GoXmlReaderWriterBase)
    Public MethodWrite an attribute of the name name with a string representation for the value val. (Inherited from Northwoods.Go.Xml.GoXmlWriter)
    Public MethodFinish the current XML element started by a call to Northwoods.Go.Xml.GoXmlWriter.WriteStartElement. (Inherited from Northwoods.Go.Xml.GoXmlWriter)
    Public MethodWrite an "xmlns:prefix" attribute for a namespace given by uri. (Inherited from Northwoods.Go.Xml.GoXmlWriter)
    Public Method (Inherited from Northwoods.Go.Xml.GoXmlWriter)
    Public Method Write out a string as the body of an element. (Inherited from Northwoods.Go.Xml.GoXmlWriter)
    Top
    Protected Methods
     NameDescription
    Protected MethodThis generates the view's BackgroundImage, if any.  
    Protected MethodOverridden.  Produce the "title", "script" include, and "defs" elements.  
    Protected MethodOverridden.  Produce any XML instructions that precede the "svg" root element.  
    Protected MethodOverridden.  Produce the elements that actually represent the objects being rendered by this writer.  
    Protected MethodOverridden.  Produce an initialization attribute for the "svg" root element.  
    Protected MethodStart the root element, using Northwoods.Go.Xml.GoXmlWriter.RootElementName and Northwoods.Go.Xml.GoXmlWriter.DefaultNamespace. (Inherited from Northwoods.Go.Xml.GoXmlWriter)
    Protected MethodGenerate a link to a standard JavaScript file at ScriptFile.  
    Protected MethodGenerate SVG elements corresponding to the IGoHandle objects that are created when a document object is selected.  
    Protected MethodDo the initialization needed by Northwoods.Go.Xml.GoXmlWriter.Generate. (Inherited from Northwoods.Go.Xml.GoXmlWriter)
    Protected MethodGenerate any additional elements that do not represent GoObjects but are needed for interactive behavior and application-specific functionality.  
    Protected Method Produce elements that allow the user to pan and zoom the SVG view.  
    Protected MethodProduce an element that represents the rubber band that the user can stretch when dragging in the background to select multiple objects, if SupportsSelection is true.  
    Protected Method Produce an element that represents the tooltip to be displayed.  
    Protected MethodOnly a subclass of a Northwoods.Go.Xml.GoXmlWriter can provide a value for the DOM. (Inherited from Northwoods.Go.Xml.GoXmlWriter)
    Protected MethodOnly a subclass of a Northwoods.Go.Xml.GoXmlWriter can provide a value for the Northwoods.Go.Xml.GoXmlWriter.XmlWriter property. (Inherited from Northwoods.Go.Xml.GoXmlWriter)
    Top
    See Also