[]
        
(Showing Draft Content)

C1.Win.Pdf.C1PdfDocument.ToSvg

ToSvg Method

ToSvg(Image, float, float, bool)

Convert a image (metafile as vectors) to SVG.

Declaration
public static byte[] ToSvg(Image img, float width, float height, bool emfPlus = false)
Public Shared Function ToSvg(img As Image, width As Single, height As Single, Optional emfPlus As Boolean = False) As Byte()
Parameters
Type Name Description
Image img

The image for converting (wait a metifile).

float width

The converting width in point.

float height

The converting height in point.

bool emfPlus

The flag to convert EMF PLUS metafile to EMF ONLY metafile or no.

Returns
Type Description
byte[]

The array of SVG in UTF8.