FormatProperties
.
Action
Click action handler.
Causes an action to take place if the user clicks on the link
Example 1
Example
=
Paragraph
{
"Click "
;
Span
{
TextColor
:
Colors
.
Blue
;
"here"
;
Action
:
new
Action
(
Actions
.
ToDocument
,
new
ResultDocClass
);
};
" to see the results."
;
};
//============================================================
Click
here
to see the results.
Example 2
Example2
=
Paragraph
{
"Click "
;
Span
{
TextColor
:
Colors
.
Blue
;
"here"
;
Action
:
new
MessageActionClass
;
};
" to see the message."
;
};
//============================================================
Click
here
to see the message.
Example 3
Example3
=
Paragraph
{
"Visit us at "
;
Span
{
TextColor
:
Colors
.
Blue
;
"nytril.com"
;
Action
:
new
Action
(
Actions
.
ToLink
,
new
URL
(
"www.nytril.com"
));
};
};
//============================================================
Visit us at
nytril.com