GoDiagram Win Reference
Generate(RectangleF,Single,Stream) Method

a RectangleF in document coordinates
the initial scale for display
Write SVG to a stream, showing a particular area.
Syntax
'Declaration
 
Public Overloads Sub Generate( _
   ByVal docExtent As RectangleF, _
   ByVal docScale As Single, _
   ByVal stream As Stream _
) 
public void Generate( 
   RectangleF docExtent,
   float docScale,
   Stream stream
)

Parameters

docExtent
a RectangleF in document coordinates
docScale
the initial scale for display
stream
Remarks
This will generate SVG attributes, generate SVG definitions, and then generate the actual rendering of the objects specified by the Northwoods.Go.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
GenerateInstructions Method
GenerateRootAttributes Method
GenerateDefinitions Method
GenerateObjects Method

 

 


© 2015. Northwoods Software Corporation. All Rights Reserved.

Send Feedback