[]
        
(Showing Draft Content)

C1.Pdf.C1PdfDocument.DrawSvg

DrawSvg Method

DrawSvg(string, RectangleF)

Draw SVG data with content alignment.

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

The SVG text data.

RectangleF rc

The drawing rectangle.

Implements
Remarks

SVG data rendered as a bitmap.

DrawSvg(string, RectangleF, RectangleF)

Draw SVG data with content alignment.

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

The SVG text data.

RectangleF rc

The drawing SVG rectangle.

RectangleF rcClip

The drawing clip for SVG rectangle.

Implements
Remarks

SVG data rendered as a bitmap.

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
public 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.

Implements
Remarks

SVG data rendered as a bitmap.