EdgeDoc: ASP.NET Document Viewer Control
Tech Specs
How-to C#

ASP.NET Web Document Viewer
Choose File Display Mode on Web Browser

Allow C# Users to Determine the Display Format of Loaded Web Document

RasterEdge web document viewer for .NET can convert PDF, Word, Excel and PowerPoint format files into Bitmap, as well as SVG files at the same time, and then render image form to show on your C# project aspx web page.

Choose Web Browser File Display Mode

In this section, you will be guided to determine to display original document as SVG or Bitmap in your C#.NET document viewer. _pdfViewer, _wordViewer, _excelViewer and  _pptViewer are corresponding to setting PDF, Word, Excel and PPT. These properties defined in the object RasterEdgeViewer and have two values, in which 1 represents you choose to use SVG, and 0 represents Bitmap is chosen.

The code tab below depicts the default setting of our XDoc.HTML Viewer, which will show document in your C# web application in SVG form. Choosing SVG as default value is because that there are three additional functions are available under this condition, including Select Text copy past, Text select Redaction, and Text Search. If you want to view your file on C#.NET web viewer, please change value to 0 accordingly.

_viewer = new RasterEdgeViewer({
        _pdfViewer: 1,
        _wordViewer: 1,