Table of Contents

Interface IEventListener

Namespace
iText.Kernel.Pdf.Canvas.Parser.Listener
Assembly
itext.kernel.dll

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 IEventData

Combines the data required for processing corresponding event type.

type EventType

Event 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.