←Select platform

FromSvgDocument Method

Summary

Parses the text from an SVG document.

Syntax
C#
VB
C++
Java
Public Shared Function FromSvgDocument( 
   ByVal document As SvgDocument, 
   ByVal mappingDocument As LEADDocument 
) As DocumentPageText 
public:  
   static DocumentPageText^ FromSvgDocument( 
      SvgDocument^ document, 
      LEADDocument^ mappingDocument 
   ) 
public static DocumentPageText fromSvgDocument(SvgDocument document, Document mappingDocument) 

Parameters

document

Source SVG document. This value must not be null.

mappingDocument

The owner document of the SVG. This is used to map the location and size of the items found into document coordinates. If this

value is null, then no mapping is performed.

Return Value

The object containing the text found in the SVG document.

Remarks

This is a helper method used internally by the LEADDocument class when parsing the text of page using SVG. The method enumerates the elements of the SVG document and extracts the letters, words, lines and paragraphs of text found.

Requirements

Target Platforms

Help Version 20.0.2020.4.3
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Document Assembly