Package | Description |
---|---|
com.yworks.yfiles.view |
Contains the main UI classes, interfaces, default implementations and support classes that can be used to display
IGraph instances. |
Modifier and Type | Field and Description |
---|---|
static EventType<PrintingEvent> |
PrintingEvent.ANY
Common supertype for all printing event types.
|
static EventType<PrintingEvent> |
PrintingEvent.POSTPROCESS
Event type for the event that can be used to make customizations to the node to print on a specific page after the
page was
printed . |
static EventType<PrintingEvent> |
PrintingEvent.PREPROCESS
Event type for the event that can be used to make customizations to the node to print on a specific page before the
page is
printed . |
Modifier and Type | Method and Description |
---|---|
protected void |
CanvasPrinter.onPrintedPage(PrintingEvent args)
Called whenever a page was printed.
|
protected void |
CanvasPrinter.onPrintingPage(PrintingEvent args)
Called whenever a page is about to be printed.
|
Modifier and Type | Method and Description |
---|---|
void |
CanvasPrinter.addPrintedListener(IEventHandler<PrintingEvent> printedEventHandler)
Adds a listener for the printed event.
|
void |
CanvasPrinter.addPrintingListener(IEventHandler<PrintingEvent> printingEventHandler)
Adds a listener for the printing event.
|
void |
CanvasPrinter.removePrintedListener(IEventHandler<PrintingEvent> printedEventHandler)
Removes the given listener for the printed event.
|
void |
CanvasPrinter.removePrintingListener(IEventHandler<PrintingEvent> printingEventHandler)
Removes the given listener for the printing event.
|
Constructor and Description |
---|
PrintingEvent(IRenderContext context,
EventType<PrintingEvent> eventType,
Node node,
int row,
int col,
CanvasPrinter.PrintInfo printInfo)
Initializes a new instance of the
PrintingEvent class. |