Hide Comments
Hide Comments

TSVGDocument.IsValidSVG(Boolean,String) Method

Comments (0)

Returns True if the Text contains a valid SVG

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

Namespace: FMX.RS.SVG

expandingSyntax

Delphi

public 
  class function IsValidSVG( StrictVerification: Boolean; const Text: String ): Boolean; overload; 
 

Parameters

StrictVerification

Type: Boolean

Text

Type: String

Return Value

Type: Boolean

expandingSee Also

Reference

Comments (0)

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