GoDigram for .NET Framework and .NET Core
Northwoods.Go.Svg Namespace / GoSvgWriter Class / Generate Method / Generate(RectangleF,Single,Stream) Method
a RectangleF in document coordinates
the initial scale for display
In This Topic
    Generate(RectangleF,Single,Stream) Method
    In This Topic
    Write SVG to a stream, showing a particular area.
    Syntax
    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.
    See Also