Interface PrinceEvents
Can be used to receive messages from Prince.
Namespace: PrinceXML.Wrapper.Events
Assembly: PrinceXML.Wrapper.dll
Syntax
public interface PrinceEvents
Methods
| Improve this Doc View SourceOnDataMessage(String, String)
This method will be called when a data message is received from Prince
via the use of Log.data("name", "value").
Declaration
void OnDataMessage(string name, string value)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The name of the data message. |
| System.String | value | The value of the data message. |
OnMessage(MessageType, String, String)
This method will be called when a message is received from Prince.
Declaration
void OnMessage(MessageType msgType, string msgLocation, string msgText)
Parameters
| Type | Name | Description |
|---|---|---|
| MessageType | msgType | The type of message. |
| System.String | msgLocation | The name of the file that the message refers to. |
| System.String | msgText | The text of the message. |