<< Click to Display Table of Contents >>

viewer.closemessage_json

Sets the contents to be displayed in the viewer exit confirmation window.

Reference

Use this parameter if you want to be asked whether the viewer is closed again when the user exits the viewer.

Sets the parameter value as a JSON format string in the following format:

"{"Key1":"Value1","Key2":"Value2",...,}".

The configurable keys are as follows:

Key

Description

title

Message title.

icontype

Icon type(The default value is iconquestion).

Set the Value to "iconinformation", "iconquestion", "iconstop" or "iconwarning".

message

Message contents.

Message contents can be set to multiple lines using "~OZ#LF".

buttontype

Button type(The default value is okcancel).

Set the Value to "okcancel" or "yesno".

Regardless of what appears in the confirmation window, clicking Yes or OK will exit the viewer, clicking No or Cancel will not exit the viewer.

To use this parameter, please set viewer.isframe value to true or inprocess.