This event is
triggered by the
UserActOnText method
for each occurrence of the specified text in the selected chunk.
This event allows the programmer, and possibly the user, to
determine an action based on the specified string, without actually
modifying the rich text.This is particularly useful when used with
wildcards. In addition, it is triggered by the
GenerateHTML method
to return chunks of HTML that can be used sequentially.
Sub ActOnText(Source As GeniiRTChunk, ByVal Text As String)
Parameters
Source
GeniiRTChunk.
Passed in automatically as the chunk from which this event was
triggered. It is invalid to change the chunk from inside
the event, and most properties and methods are disabled if they would
alter the chunk, but it is possible to query the properties of the
chunk as necessary.
Text
String.
Passed in as the string which has been matched. Note that if
the
TextWildcards property
is set to True, this may be different for each occurrence.