GroupDocsGists
10/24/2017 - 7:08 AM

Viewer.OldVersion.Script.Parameters.cs

  string inlineDocPreviewScript = Viewer.ClientCode()
                      .TargetElementSelector("#viewerd")
                      .Url(fileurl, fname)
                      .UseHtmlBasedEngine(false)
                      .UseInnerThumbnails(true)
                      .SupportTextSelection(true)
                      .ShowThumbnails(true)
                      .OpenThumbnails(false)
                      .ShowFolderBrowser(false)
                      .MinimumImageWidth(100)
                      .BackgroundColor("gray")
                      .ShowSearch(true)
                      .ShowPaging(true)
                      .ShowDownload(false)
                      .ShowViewerStyleControl(false)
                      .PreloadPagesCount(3)
                      .Zoom(100)
                      .ShowPrint(false)
                      .ToString();