Error processing SSI file
LEADTOOLS Leadtools.Documents (Leadtools.Documents assembly)

IsSvgSupported Property

Show in webframe
Gets a value that indicate whether this document supports getting a page as SVG.
Syntax
get_isSvgSupported();
Object.defineProperty('isSvgSupported');

Property Value

TypeDescription
booleantrue if this document supports getting a page as SVG; otherwise, false.
Remarks

Use IsSvgSupported to determine whether an SVG (Scalable Vector Graphics) representation of a page can be obtained through GetSvgBackImageUrl, GetSvgBackImageElement, GetSvgUrl, or GetSvgElement. If IsSvgSupported is true, then these methods can return an SVG document (or the URL to it). If IsSvgSupported is false, then GetSvgBackImageUrl and GetSvgUrl will return URLs that cannot be loaded, while GetSvgBackImageElement and GetSvgElement will fail.

The GetText method is used to parse the text from a page within the document. If IsSvgSupported is true, the Documents Service will parse the text from the SVG document directly, without OCR. If IsSvgSupported is false, the text is parsed using the OCR engine instance set in the service. You can override this behavior using the TextExtractionMode property.

Currently, SVG support is provided for these types of documents:

Note that when the value of IsSvgSupported is false, then the value of IsSvgViewingPreferred will always be false too.

See Also

Reference

DocumentImages Object
DocumentImages Members

Error processing SSI file