<< Click to Display Table of Contents >> Navigation: »No topics above this level« TOC : Script API > JavaScript > JavaScript API > Component > ReportTemplate > Method >SetReportOption |
Sets value of the OZ viewer parameters.
Prototype :
void SetReportOption
(
string ViewerParameterName,
string ViewerParameterValue
)
Arguments :
ViewerParameterName |
name of the Viewer Parameter |
ViewerParameterValue |
value of the Viewer Parameter |
Reference :
Parameters that are not supported by this function is shown below.
Parameter Group |
Parameter Name |
connection |
2dbarcodeurl, clientcachetype, compressedForm, datafromserver, extraparam, formfromserver, id, openfile, password, port, reportname, server, servlet, usewinhttp |
export |
externalmodule |
global |
address_updatetype, concatpage, inheritparameter, language, resourcefile |
ozsystem |
All |
externalmodule, externalmoduleex |
|
repository_agent |
All |
usercomponent |
extraparam |
viewer |
allowmultiframe, childcount, closeframe, emptyframe, externalmodule, external_functions_path, extraparam, imageprogressbar_imagepath, isframe, label_dataopr_silent, mode, namespace, ozresource_language, ozscript_dateopr_silent, ozscript_stropr_silent, totalparam, totalparamseparator, useimageprogressbar, useprogressbar |
Example :
ReportTemplate.SetReportOption("viewer.zoom", "120");
ReportTemplate.SetReportOption("toolbar.save", "false");
Available Events :
OnStartUp