GoDigram for .NET Framework and .NET Core
Northwoods.Go.Svg Namespace / GoSvgWriter Class / Generate Method / Generate(RectangleF,Single) Method
a RectangleF in document coordinates
the initial scale for display
In This Topic
    Generate(RectangleF,Single) Method
    In This Topic
    Create SVG DOM, showing a particular area.
    Syntax

    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.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