Hide Comments
Hide Comments

TSVGDocument.IsValidSVG(TStream,Boolean) Method

Comments (0)

Returns True if the stream contains a valid SVG

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

Namespace: FMX.RS.SVG

expandingSyntax

Delphi

public 
  class function IsValidSVG( const Stream: TStream; StrictVerification: Boolean = False ): Boolean; overload; 
 

Parameters

Stream

Type: TStream

StrictVerification

Type: Boolean

Return Value

Type: Boolean

expandingSee Also

Reference

Comments (0)

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