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 As GcSvgDocument, _
ByVal As System.Drawing.RectangleF, _
Optional ByVal As System.Single _
)
public void DrawSvgContent(
GcSvgDocument ,
System.Drawing.RectangleF ,
System.float
)
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