Show/Hide Toolbars

RiverSoftAVG Products Help

Navigation: Code Documentation > RSFMXSVG > FMX.RS.SVG > Classes > TSVGDocument > Methods

TSVGDocument.IsValidSVG(TStream,Boolean) Method

Scroll Prev Top Next More

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

Parameters

Stream

Type: TStream

StrictVerification

Type: Boolean

Return Value

Type: Boolean

RiverSoftAVG Products Help © 1996-2016 Thomas G. Grubb