コード例 #1
0
        public IActionResult InitViewer()
        {
            var requestParams = StiAngularViewer.GetRequestParams(this);
            var options       = new StiAngularViewerOptions();

            options.Actions.ViewerEvent = "ViewerEvent";
            options.Theme = StiViewerTheme.Office2007Blue;
            return(StiAngularViewer.ViewerDataResult(requestParams, options));
        }
コード例 #2
0
        public IActionResult InitViewer()
        {
            var requestParams = StiAngularViewer.GetRequestParams(this);

            var options = new StiAngularViewerOptions();

            options.Actions.GetReport         = "GetReport";
            options.Actions.ViewerEvent       = "ViewerEvent";
            options.Appearance.ScrollbarsMode = true;

            return(StiAngularViewer.ViewerDataResult(requestParams, options));
        }
コード例 #3
0
        public IActionResult InitViewer()
        {
            var requestParams = StiAngularViewer.GetRequestParams(this);

            var options = new StiAngularViewerOptions();

            options.Actions.GetReport         = "GetReport";
            options.Actions.ViewerEvent       = "ViewerEvent";
            options.Appearance.ScrollbarsMode = true;
            options.Localization = StiAngularHelper.MapPath(this, "Localization/de.xml");

            return(StiAngularViewer.ViewerDataResult(requestParams, options));
        }
コード例 #4
0
        public IActionResult InitViewer()

        {
            var requestParams = StiAngularViewer.GetRequestParams(this);
            var options       = new StiAngularViewerOptions();

            options.Actions.ViewerEvent = "ViewerEvent";
            options.Localization        = "Localization/fa.xml";

            options.Appearance.ScrollbarsMode = true;
            options.Appearance.FullScreenMode = true;
            //options.Toolbar.DisplayMode = StiToolbarDisplayMode.Separated;
            options.Toolbar.ShowParametersButton = false;
            //options.Toolbar.FontFamily = "IRANSansDN";
            //options.Toolbar.FontColor = Color.Brown;
            options.Theme = StiViewerTheme.Office2013WhiteBlue;

            return(StiAngularViewer.ViewerDataResult(requestParams, options));
        }