GoDiagram Web Reference
Generate(RectangleF,Single) Method

a RectangleF in document coordinates
the initial scale for display
Create SVG DOM, showing a particular area.
Syntax
'Declaration
 
Public Overloads Function Generate( _
   ByVal docExtent As RectangleF, _
   ByVal docScale As Single _
) As XmlDocument
public XmlDocument Generate( 
   RectangleF docExtent,
   float docScale
)

Parameters

docExtent
a RectangleF in document coordinates
docScale
the initial scale for display

Return Value

an XmlDocument
Remarks
This will generate SVG attributes, generate SVG definitions, and then generate the actual rendering of the objects specified by the Northwoods.GoWeb.Xml.GoXmlWriter.Objects property. The extent of the rendering is determined by the docExtent parameter. If ObjectsLimitedToDocExtent is true, only those objects visible in the docExtent will be generated; otherwise the docExtent provides the initial viewport into the document. The View property helps determine the appearance of the objects that are rendered. Whether any view objects are painted, along with any view background, is determined by PaintView.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

GoSvgWriter Class
GoSvgWriter Members
Overload List
GenerateRootAttributes Method
GenerateDefinitions Method
GenerateObjects Method

 

 


© 2013. Northwoods Software Corporation. All Rights Reserved.

Send Feedback