[]
        
(Showing Draft Content)

C1.Excel.XLMetafile.ToSvg

ToSvg Method

ToSvg(bool)

Convert a image (metafile as vectors) to SVG.

Declaration
public byte[] ToSvg(bool fast = false)
Public Function ToSvg(Optional fast As Boolean = False) As Byte()
Parameters
Type Name Description
bool fast

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

Returns
Type Description
byte[]

The array of SVG in UTF8.

ToSvg(float, float, bool)

Convert a image (metafile as vectors) to SVG.

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

The converting width in twips.

float height

The converting height in twips.

bool fast

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

Returns
Type Description
byte[]

The array of SVG in UTF8.