Interface IEventListener
A callback interface that receives notifications from the PdfCanvasProcessor as various events occur (see EventType ).
public interface IEventListener
Methods
EventOccurred(IEventData, EventType)
Called when some event occurs during parsing a content stream.
void EventOccurred(IEventData data, EventType type)
Parameters
data
IEventDataCombines the data required for processing corresponding event type.
type
EventTypeEvent type.
GetSupportedEvents()
Provides the set of event types this listener supports.
ICollection<EventType> GetSupportedEvents()
Returns
- ICollection<EventType>
Set of event types supported by this listener or null if all possible event types are supported.
Remarks
Provides the set of event types this listener supports. Returns null if all possible event types are supported.