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

Show in webframe

IsSvgSupported Property






Indicates whether this document supports getting a page as SVG.
Syntax
public virtual bool IsSvgSupported {get;}
'Declaration
 
Public Overridable ReadOnly Property IsSvgSupported As Boolean
'Usage
 
Dim instance As DocumentImages
Dim value As Boolean
 
value = instance.IsSvgSupported
public boolean isSvgSupported()
            
public:
virtual property bool IsSvgSupported {
   bool get();
}

Property Value

true 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 DocumentPage.GetSvg. If IsSvgSupported is true, then the method will return an SVG document ready to be used. If IsSvgSupported is false, the method will return null.

The DocumentPage.GetText method is used to parse the text from a page within the document. Document uses IsSvgSupported to determine how this method works as follows:

You can override this behavior using the DocumentText.TextExtractionMode property.

The framework uses similar logic to RasterCodecs.CanLoadSvg to determine SVG support. Currently, these support is provided by these types of documents:

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

Example

For an example, refer to DocumentImages.

Requirements

Target Platforms

See Also

Reference

DocumentImages Class
DocumentImages Members

Error processing SSI file
   Leadtools.Documents requires a Document or Medical toolkit license and unlock key. For more information, refer to: LEADTOOLS Toolkit Features