Asynchronous method which runs a list of features on a LEADDocument, returning the results of processing. This API can be run for specific pages.
public Task<List<ElementSetResult>> Run(
Public Function Run(
ByVal features As List(Of IFeature
ByVal document As LEADDocument,
ByVal from As Integer,
ByVal to As Integer,
ByVal token As CancellationToken) As Task(Of List(Of ElementSetResult))
List of features to run on the document.
The document on which the features will be run.
Page from which to start, 1-based.
Page to end at, 1-based.
A CancellationToken enables cooperative cancellation between threads or Task objects. You create a cancellation token by instantiating a CancellationTokenSource object, which manages cancellation tokens retrieved from its CancellationTokenSource.
Results of processing the document.