DrawSvg(GcSvgDocument,RectangleF,Single) Method
In This Topic
Draws a specified SVG document, resizing its viewport to fit into a specified rectangle.
To draw just the content of the SVG ignoring viewport position, see DrawSvgContent(GcSvgDocument,RectangleF,Single).
Syntax
'Declaration
Public Overloads Sub DrawSvg( _
ByVal As GcSvgDocument, _
ByVal As System.Drawing.RectangleF, _
Optional ByVal As System.Single _
)
public void DrawSvg(
GcSvgDocument ,
System.Drawing.RectangleF ,
System.float
)
Parameters
- svgDocument
- The SVG document to draw.
- viewportRect
- The target rectangle for the SVG viewport.
- opacity
- The opacity factor to be applied to the SVG content.
See Also