Options

Webviewer have described below options:

  • String viewerID - the viewerID

  • StiWebViewerTheme theme - The current visual theme which is used for drawing visual elements of the webviewer.

  • String width - The width of webviewer, must ends width % or px, default is “100%”.

  • String height - The height of webviewer, must ends width % or px, default is “100%”.

  • StiColor backColor - The background color, default is White.

  • int countColumnsParameters - A count columns in parameters Panel, default is 2;

  • String localization - A path to the localization file for the web viewer.

  • boolean rightToLeft - A value which controls of output objects in the right to left mode, default is false.

  • boolean scrollbarsMode - A value which indicates that the web viewer will show the report with, default is false.

  • boolean menuAnimation - A value which indicates that menu animation is enabled, default is true.

  • StiShowMenuMode menuShowMode - The mode that shows menu of the viewer, default id StiShowMenuMode.Click.

  • StiPrintDestination menuPrintDestination - The default mode of the report print destination, default is StiPrintDestination.Default.

  • StiPagesViewMode pagesViewMode - The mode of showing a report in the web viewer - one page or the whole report, default is StiPagesViewMode.OnePage.

  • int menuZoom - The report showing zoom. The default value is 100.

  • StiContentAlignment pageAlignment - The alignment of the web viewer page, default is StiContentAlignment.Center.

  • boolean pageShowShadow - A value which indicates that the shadow of the page will be displayed in the webviewer, default is true.

  • StiColor pageBorderColor - A color of the page border, default is Gray.

  • boolean bookmarksVisible - A visibility of the Toolbar of the web viewer, default is true;

  • boolean bookmarksPrint - A value which allows printing report bookmarks, default is false;

  • int bookmarksTreeWidth - A width of the bookmarks tree in the web viewer, default is 180.

  • boolean toolbarVisible - A value which indicates that report bookmarks will be shown in the web viewer, default is true;

  • StiColor toolbarBackgroundColor - A color of the toolbar background.

  • StiColor toolbarFontColor - A color of the toolbar texts.

  • String toolbarFontFamily - A value which indicates which font family will be used for drawing texts in the webviewer, default is Arial;

  • StiContentAlignment toolbarAlignment - The alignment of the web viewer toolbar, default is StiContentAlignment.Default;

  • boolean toolbarButtonCaptions - A value which allows displaying or hiding toolbar buttons captions, default is false;

  • boolean toolbarMenuCaptions - A value which allows displaying or hiding toolbar menu captions, default is true;

  • boolean showCurrentPageControl - A visibility of the current page control in the toolbar of the web viewer, default is true;

  • boolean showButtonPrint - A visibility of the Print button in the toolbar of the web viewer, default is true;

  • boolean showButtonSave - A visibility of the Save button in the toolbar of the web viewer, default is true;

  • boolean showButtonBookmarks - A visibility of the Parameters button in the toolbar of the web viewer, default is true;

  • boolean showButtonParameters - A visibility of the Parameters button in the toolbar of the web viewer, default is true;

  • boolean showButtonFirstPage - A visibility of the First Page button in the toolbar of the web viewer, default is true;

  • boolean showButtonPreviousPage - A visibility of the Prev Page button in the toolbar of the web viewer, default is true;

  • boolean showButtonNextPage - A visibility of the Next Page button in the toolbar of the web viewer, default is true;

  • boolean showButtonLastPage - A visibility of the Last Page button in the toolbar of the web viewer, default is true;

  • boolean showButtonZoom - A visibility of the Zoom control in the toolbar of the webviewer, default is true;

  • boolean showButtonViewMode - visibility of the View Mode button in the toolbar of the web viewer, default is true;

  • boolean showExportDialog - A value which allows to display the export dialog, or to export with the default settings, default is true;

  • boolean showExportToDocument - A value which indicates that the user can save the report from the web viewer to the report document file, default is true;

  • boolean showExportToPdf - A value which indicates that the user can save the report from the web viewer to the PDF format, default is true;

  • boolean showExportToXps - A value which indicates that the user can save the report from the web viewer to the XPS format, default is true;

  • boolean showExportToHtml - A value which indicates that the user can save the report from the web viewer to the HTML format, default is true;

  • boolean showExportToText - A value which indicates that the user can save the report from the web viewer to the TEXT format, default is true;

  • boolean showExportToRtf - A value which indicates that the user can save the report from the web viewer to the RTF format, default is true;

  • boolean showExportToWord2007 - A value which indicates that the user can save the report from the web viewer to the Word 2007-2010 format, default is true;

  • boolean showExportToExcel - A value which indicates that the user can save the report from the web viewer to the Excel BIFF format, default is true;

  • boolean showExportToExcelXml - A value which indicates that the user can save the report from the web viewer to the ExcelXML format, default is true;

  • boolean showExportToExcel2007 - A value which indicates that the user can save the report from the web viewer to the Excel 2007-2010 format, default is true;

  • boolean showExportToCsv - A value which indicates that the user can save the report from the web viewer to the CSV format, default is true;

  • boolean showExportToXml - A value which indicates that the user can save the report from the web viewer to the XML format, default is true;

  • boolean showExportToSylk - A value which indicates that the user can save the report from the web viewer to the Sylk format, default is true;

  • boolean showExportToImageBmp - A value which indicates that the user can save the report from the web viewer to the BMP image format, default is true;

  • boolean showExportToImageJpeg - A value which indicates that the user can save the report from the web viewer to the JPEG image format, default is true;

  • boolean showExportToImagePcx - A value which indicates that the user can save the report from the web viewer to the PCX image format, default is true;

  • boolean showExportToImagePng - A value which indicates that the user can save the report from the web viewer to the PNG image format, default is true;

  • boolean showExportToImageSvg - A value which indicates that the user can save the report from the web viewer to the SVG image format, default is true;

  • boolean showExportToImageSvgz - A value which indicates that the user can save the report from the web viewer to the SVGZ image format, default is true;

  • int refreshTimeout - A value wich indicates timeout in minutes for execute dummy request to avoid end session, default is 0 (disabled);