Class SimpleTextExtractionStrategy
public class SimpleTextExtractionStrategy : ITextExtractionStrategy, IEventListener
- Inheritance
-
SimpleTextExtractionStrategy
- Implements
- Inherited Members
Constructors
SimpleTextExtractionStrategy()
public SimpleTextExtractionStrategy()
Methods
AppendTextChunk(string)
Used to actually append text to the text results.
protected void AppendTextChunk(string text)
Parameters
text
stringthe text to append to the text results accumulated so far
Remarks
Used to actually append text to the text results. Subclasses can use this to insert text that wouldn't normally be included in text parsing (e.g. result of OCR performed against image content)
EventOccurred(IEventData, EventType)
public virtual void EventOccurred(IEventData data, EventType type)
Parameters
data
IEventDatatype
EventType
GetResultantText()
Returns the result so far.
public virtual string GetResultantText()
Returns
- string
a String with the resulting text.
GetSupportedEvents()
public virtual ICollection<EventType> GetSupportedEvents()