Search
Shape.FromSvg Method (SvgContent, Boolean, Boolean)
See Also
 





Creates a Shape from the outline of an SVG drawing.

Namespace: MindFusion.Diagramming
Package: MindFusion.Diagramming

 Syntax

C#  Copy Code

public static Shape FromSvg (
    SvgContent svgContent,
    bool stretch,
    bool concave
)

Visual Basic  Copy Code

Public Shared Function FromSvg( _
    svgContent As SvgContent, _
    stretch As Boolean, _
    concave As Boolean _
) As Shape

 Parameters

svgContent

An SvgContent object representing the SVG drawing.

stretch

Specifies whether the Shape outline should match the SVG drawing when ContentAlign is set to Stretch.

concave

Specifies whether the Shape outline should be defined by a concave hull.

 Return Value

A Shape generated from the specified SVG drawing.

 See Also