Hide Comments
Hide Comments

TSVGDocument.IsValidSVG(IXMLDocument,Boolean) Method

Comments (0)

Returns True if the file is a valid SVG

The StrictVerification parameter controls how the XML document is validated. If false (the default), the function quickly checks if the XML document has a <svg> node. If true, the function parses the entire XML document and sees if there are any errors (much slower but more thorough)

Namespace: RSSVG

expandingSyntax

Delphi

public 
  class function IsValidSVG( const XML: IXMLDocument; StrictVerification: Boolean = False ): Boolean; overload; 
 

Parameters

XML

Type: IXMLDocument

StrictVerification

Type: Boolean

Return Value

Type: Boolean

expandingSee Also

Reference

Comments (0)

RiverSoftAVG SVG Component Library (RSCL) © 2013-2015, Thomas G. Grubb