Specifies the element-based query used to load Elements from the query context.
public RepositoryQuery ElementQuery { get; set; }
Public Property ElementQuery() As RepositoryQuery
Get
Set
public:
property RepositoryQuery^ ElementQuery
{
RepositoryQuery^ get()
void set(RepositoryQuery^ value)
}
Empty query, which indicates wildcard matching.
Pass an empty query for wildcard matching. Pass a Null if no query is to be performed.
Queries take place in the query context specified by DocumentAnalyzer.QueryContext.
This example shows how to load and run analysis.
using Leadtools;
using Leadtools.Document.Analytics;
using Leadtools.Document;
using Leadtools.Document.Unstructured;
using Leadtools.Document.Data;
public void Sample()
{
using (var engines = UnstructuredOcrEngines.Defaults(@"D:\OcrLEADRuntime"))
{
var analyzer = new DocumentAnalyzer()
{
Reader = new UnstructuredDataReader()
{
OcrEngines = engines.Engines
},
QueryContext = new FileRepositoryContext(@"D:\ruleset.json")
};
var options = new DocumentAnalyzerRunOptions()
{
ElementQuery = new RepositoryQuery(),
ActionQuery = new RepositoryQuery()
};
using (var document = DocumentFactory.LoadFromFile(@"c:\test.docx", new LoadDocumentOptions()))
{
var results = analyzer.Run(document, options);
}
}
}
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document
Your email has been sent to support! Someone should be in touch! If your matter is urgent please come back into chat.
Chat Hours:
Monday - Friday, 8:30am to 6pm ET
Thank you for your feedback!
Please fill out the form again to start a new chat.
All agents are currently offline.
Chat Hours:
Monday - Friday
8:30AM - 6PM EST
To contact us please fill out this form and we will contact you via email.