Document Solutions for Imaging
DS.Documents.Imaging Assembly / GrapeCity.Documents.Drawing Namespace / GcGraphics Class / DrawSvgContent Method / DrawSvgContent(GcSvgDocument,RectangleF,Single) Method
The SVG document to draw.
The target rectangle for the SVG content.
The opacity factor to be applied to the SVG content.

In This Topic
    DrawSvgContent(GcSvgDocument,RectangleF,Single) Method
    In This Topic
    Draws the content of a specified SVG document, resizing the content to fit into a specified rectangle.

    To draw the SVG resizing its viewport rather than just the content, see DrawSvg(GcSvgDocument,RectangleF,Single).

    Syntax
    'Declaration
     
    Public Overloads Sub DrawSvgContent( _
       ByVal svgDocument As GcSvgDocument, _
       ByVal contentRect As System.Drawing.RectangleF, _
       Optional ByVal opacity As System.Single _
    ) 
    public void DrawSvgContent( 
       GcSvgDocument svgDocument,
       System.Drawing.RectangleF contentRect,
       System.float opacity
    )

    Parameters

    svgDocument
    The SVG document to draw.
    contentRect
    The target rectangle for the SVG content.
    opacity
    The opacity factor to be applied to the SVG content.
    See Also