[]
        
(Showing Draft Content)

C1.Util.IFlowDocument.DrawSvg

DrawSvg Method

DrawSvg(string, RectangleF)

Draw SVG data with content alignment.

Declaration
void DrawSvg(string text, RectangleF rc)
Parameters
Type Name Description
string text

The SVG text data.

RectangleF rc

The drawing rectangle.

DrawSvg(string, RectangleF, RectangleF)

Draw SVG data with content alignment.

Declaration
void DrawSvg(string text, RectangleF rcImage, RectangleF rcClip)
Parameters
Type Name Description
string text

The SVG text data.

RectangleF rcImage

The drawing SVG rectangle.

RectangleF rcClip

The drawing clip for SVG rectangle.

DrawSvg(string, RectangleF, ContentAlignment, ImageSizeMode)

Draws the specified SVG data at the specified location, adjusting the SVG size as specified by the align and mode parameters.

Declaration
void DrawSvg(string text, RectangleF rc, ContentAlignment align, ImageSizeMode mode)
Parameters
Type Name Description
string text

The SVG text data.

RectangleF rc

RectangleF structure that specifies the location of the drawn SVG, in points from the top left corner of the page.

ContentAlignment align

ContentAlignment value that specifies how the SVG should be aligned within the rectangle.

ImageSizeMode mode

ImageSizeMode value that specifies how the SVG should be sized to fit the rectangle.