ImageEn, unit iexSVG

IEGetSVGTagType


Declaration

function IEGetSVGTagType(const SVGContent: string): TIESVGTagType;


Description

Returns the type of the first found tag.
An exception is raised if the tag could not be processed.



Demo

Demo  Demos\InputOutput\SVGParsing\SVGParsing.dpr


Example

t := IEGetSVGTagType( '<polygon points="100,10 150,190 50,190" fill="lime" stroke="purple" stroke-width="3"/>' );
// Would return iestPolygon