Hide Comments
Hide Comments

TSVGDocument.IsValidSVG(String,Boolean) Method

Comments (0)

Returns True if the file is a valid SVG

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

Namespace: RSSVG

expandingSyntax

Delphi

public 
  class function IsValidSVG( const FileName: String; StrictVerification: Boolean = False ): Boolean; overload; 
 

Parameters

FileName

Type: String

StrictVerification

Type: Boolean

Return Value

Type: Boolean

expandingSee Also

Reference

Comments (0)

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