Document Solutions for PDF
DS.Documents.Imaging Assembly / GrapeCity.Documents.Drawing Namespace / GcGraphics Class / DrawSvg Method / DrawSvg(GcSvgDocument,PointF,Single) Method
The SVG document to draw.
The coordinates for drawing the top-left corner of the SVG viewport.
The opacity factor to be applied to the SVG content.

In This Topic
    DrawSvg(GcSvgDocument,PointF,Single) Method
    In This Topic
    Draws a specified SVG document at a point specifying the position of the SVG viewport.

    To specify the position of the SVG content rather than viewport, see DrawSvgContent(GcSvgDocument,PointF,Single).

    Syntax
    'Declaration
     
    Public Overloads Sub DrawSvg( _
       ByVal svgDocument As GcSvgDocument, _
       ByVal viewportPosition As System.Drawing.PointF, _
       Optional ByVal opacity As System.Single _
    ) 
    public void DrawSvg( 
       GcSvgDocument svgDocument,
       System.Drawing.PointF viewportPosition,
       System.float opacity
    )

    Parameters

    svgDocument
    The SVG document to draw.
    viewportPosition
    The coordinates for drawing the top-left corner of the SVG viewport.
    opacity
    The opacity factor to be applied to the SVG content.
    See Also