GoDiagram Win Reference
GoSvgWriter Class Members
Properties  Methods 


The following tables list the members exposed by GoSvgWriter.

Public Constructors
 NameDescription
Public ConstructorGoSvgWriter ConstructorConstruct a GoSvgWriter that produces SVG.  
Top
Public Properties
 NameDescription
Public PropertyCursorsGets or sets whether to generate cursors to be shown when the user's pointer is over an object.  
Public PropertyDefaultNamespaceGets or sets the "xmlns" attribute namespace to be defined for the root element. (Inherited from Northwoods.Go.Xml.GoXmlWriter)
Public PropertyFragmentGets or sets whether to exclude any XML instructions before the root element.  
Public PropertyGrandParentObjectGets the parent object of the current parent object when consuming or generating the body of an element. (Inherited from Northwoods.Go.Xml.GoXmlReaderWriterBase)
Public PropertyNodesGeneratedFirstGets 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 PropertyObjectsGets or sets the collection of objects to be generated. (Inherited from Northwoods.Go.Xml.GoXmlWriter)
Public PropertyObjectsLimitedToDocExtentGets 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 PropertyObjectStackGets 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 PropertyPaintViewGets or sets whether to paint the view's background and draw any view objects.  
Public PropertyPanAndZoomControlsGets or sets whether to generate panning and zooming controls for the user.  
Public PropertyParentObjectGets the current parent object when consuming or generating the body of an element. (Inherited from Northwoods.Go.Xml.GoXmlReaderWriterBase)
Public PropertyRootElementNameGets or sets the name of the root element. (Inherited from Northwoods.Go.Xml.GoXmlWriter)
Public PropertyScriptFileGets or sets the pathname for the script file defining most of the functions needed for event handling.  
Public PropertyScriptingGets or sets whether to generate interactive or static SVG.  
Public PropertySupportsSelectionGets or sets whether to allow the user to select objects.  
Public PropertyToolTipsGets or sets whether to generate script for handling tooltips.  
Public PropertyUserObjectGets 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 PropertyViewGets 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 PropertyWriterElementGets 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 PropertyXmlDocumentGets 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 PropertyXmlWriterGets the XmlWriter used to actually write XML to the output stream. (Inherited from Northwoods.Go.Xml.GoXmlWriter)
Public PropertyXmlWriterSettingsGets 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 MethodAddTransformerCause 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 MethodClearAllSharedsRemove all objects from the table of shared objects. (Inherited from Northwoods.Go.Xml.GoXmlWriter)
Public MethodDefineAndGenerateSharedObjectIf 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 MethodDefineObjectThis may produce shared elements that precede the regular rendering of the objects. (Inherited from Northwoods.Go.Xml.GoXmlWriter)
Public MethodFindSharedFind an identifier associated with an object that can be referenced. (Inherited from Northwoods.Go.Xml.GoXmlWriter)
Public MethodFindTransformerReturns the first Northwoods.Go.Xml.IGoXmlTransformer associated with a given type or its base types. (Inherited from Northwoods.Go.Xml.GoXmlReaderWriterBase)
Public MethodGenerateOverloaded. Write an SVG file.  
Public MethodGenerateObjectThis produces an element for an object, including any nested elements that help represent the rendering. (Inherited from Northwoods.Go.Xml.GoXmlWriter)
Public MethodGetHrefReturn 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 MethodGetNamespaceUriLook up the namespace URI for a prefix string. (Inherited from Northwoods.Go.Xml.GoXmlWriter)
Public MethodGetSelectionIdReturn a document-wide unique string identifier for the given object, or null if cannot be selected in the SVG document.  
Public MethodGetTransformerReturns the Northwoods.Go.Xml.IGoXmlTransformer associated with a given type. (Inherited from Northwoods.Go.Xml.GoXmlReaderWriterBase)
Public MethodInvokeGenerateAttributesCall 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 MethodInvokeGenerateBodyCall 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 MethodInvokeGenerateDefinitionsCall 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 MethodInvokeGenerateElementCall 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 MethodInvokeGenerateElementFinishCall 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 MethodInvokeSkipGenerationCall 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 MethodMakeSharedAdd an object to the table of shared objects. (Inherited from Northwoods.Go.Xml.GoXmlWriter)
Public MethodRegisterTransformersOverridden. This adds instances of GoSvgGenerator for all the standard GoDiagram classes needed to render a view.  
Public MethodSetNamespaceUriDefine the namespace URI for a prefix string, used when writing prefixed attribute names. (Inherited from Northwoods.Go.Xml.GoXmlWriter)
Public MethodSetTransformerCause 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 MethodWriteAttrValWrite an attribute of the name name with a string representation for the value val. (Inherited from Northwoods.Go.Xml.GoXmlWriter)
Public MethodWriteEndElementFinish the current XML element started by a call to Northwoods.Go.Xml.GoXmlWriter.WriteStartElement. (Inherited from Northwoods.Go.Xml.GoXmlWriter)
Public MethodWriteNamespaceAttributeWrite an "xmlns:prefix" attribute for a namespace given by uri. (Inherited from Northwoods.Go.Xml.GoXmlWriter)
Public MethodWriteStartElementStart a new XML element, with the name given by name. (Inherited from Northwoods.Go.Xml.GoXmlWriter)
Public MethodWriteTextBodyWrite out a string as the body of an element. (Inherited from Northwoods.Go.Xml.GoXmlWriter)
Top
Protected Methods
 NameDescription
Protected MethodGenerateBackgroundDecorationThis generates the view's BackgroundImage, if any.  
Protected MethodGenerateDefinitionsOverridden. Produce the "title", "script" include, and "defs" elements.  
Protected MethodGenerateInstructionsOverridden. Produce any XML instructions that precede the "svg" root element.  
Protected MethodGenerateObjectsOverridden. Produce the elements that actually represent the objects being rendered by this writer.  
Protected MethodGenerateRootAttributesOverridden. Produce an initialization attribute for the "svg" root element.  
Protected MethodGenerateRootElementStart the root element, using Northwoods.Go.Xml.GoXmlWriter.RootElementName and Northwoods.Go.Xml.GoXmlWriter.DefaultNamespace. (Inherited from Northwoods.Go.Xml.GoXmlWriter)
Protected MethodGenerateScriptGenerate a link to a standard JavaScript file at ScriptFile.  
Protected MethodGenerateSelectionHandlesGenerate SVG elements corresponding to the IGoHandle objects that are created when a document object is selected.  
Protected MethodInitializeDo the initialization needed by Northwoods.Go.Xml.GoXmlWriter.Generate. (Inherited from Northwoods.Go.Xml.GoXmlWriter)
Protected MethodRenderControlsAndFormsGenerate any additional elements that do not represent GoObjects but are needed for interactive behavior and application-specific functionality.  
Protected MethodRenderPanAndZoomControlsProduce elements that allow the user to pan and zoom the SVG view.  
Protected MethodRenderRubberBandProduce 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 MethodRenderToolTipProduce an element that represents the tooltip to be displayed.  
Protected MethodSetXmlDocumentOnly a subclass of a Northwoods.Go.Xml.GoXmlWriter can provide a value for the DOM. (Inherited from Northwoods.Go.Xml.GoXmlWriter)
Protected MethodSetXmlWriterOnly 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

Reference

GoSvgWriter Class
Northwoods.Go.Svg Namespace

 

 


© 2015. Northwoods Software Corporation. All Rights Reserved.

Send Feedback