Guide for C#
Save or Print Document
Core Document Formats
Additional Features

C# Imaging - Save or Print Doc/Image in Web Viewer

.NET Web Viewer Allows C# Developers to Save, Convert and Print Image or Doc

Visual C#
Home > .NET Imaging SDK > C# > Save or Print Document in Web Viewer

"This online guide content is Out Dated!
    Please get the latest XDoc.HTML5 Viewer C# Developer Guide here.

RasterEdge Web Viewer DLL for C#.NET excels in web document and image viewing, annotating and redacting. In addition, after all these operations, C# users are capable of saving all changes on document or image in its original file format, converting it to PDF or TIFF file, and then printing it out. And on this page, these aspects will be discussed detailedly.
Related .net document control helps: webforms pdf editor control: ASP.NET WebForms PDF Editor: create, view, edit, annotate, redact PDF file in ASP.NET WebForms application image file viewer: ASP.NET Image Document Viewer Control: view, annotate, redact, convert image files in html web browser create pdf control: ASP.NET Create PDF Document Control: create, convert PDF file from Word, Excel, Tiff file formats in C# ASP.NET sharepoint file viewer: ASP.NET SharePoint Document Viewer: view, annotate, redact documents in SharePoint convert pdf control: ASP.NET Convert PDF Control: Convert, export PDF to Word, HTML, Tiff files in C# ASP.NET sharepoint pdf editor control: ASP.NET SharePoint PDF Editor Control: view, edit, annotate, redact PDF document in SharePoint sites pdf editor control: EdgePDF: ASP.NET PDF Editor Web Control: Online view, annotate, redact, edit, process, convert PDF documents
Document and Image Saving in C# Web Viewer
After you viewing, annotating and redacting loaded web viewer document or image, you can easily save the changes to the file in its original format. In all, commonly used documents and images are supportive by our C#.NET Web Viewer DLL Library, including documents TIFF, PDF, Excel, Word, PowerPoint, Dicom and images Bitmap, PNG, GIF, JPEG, JPEG2000 and JIBIG2.
In your C# web application, you may find the following code in the Default.aspx.cs file.
string fileName = Request.Form["saveFileName"];
string fid = Request.Form["Fid"];
This C#.NET code snippet is user-defined. FileName is the preserved file name combined with path on the server namely RasterEdge_Cache/fid/output/fileName. RasterEdge WebViewer will open this document with browser after saving the file. C# developers can modify the code according to own needs.
If you run the C#.NET project webviewer sample in download package, you will have better understanding about file saving in web viewer. In details, by clicking save button on viewer, your loaded web document or image will be saved on above mentioned path on server. And you can have access to the saved file based on the file path and then do further manipulation.
Document and Image Printing in C# Web Viewer
If you have the need of printing web document or image, then our C#.NET Web Viewer SDK also helps with this. During the process, your web file will be automatically convert to PDF or TIFF file and then be printed out.
  • Please make sure there's a printer hard driver installed on your computer. Then, your C# web project document or image can be directly transmitted to the printer.
  • If there's no printer connected or your web browser doesn't support document or image printing, you can only preview it on web viewer in PDF or TIFF format.
Other C# Online Guides for Web Viewer
You may directly refer to other C# tutorials for how to use .NET Web Viewer DLL by clicking on the following links.

Recommend this to Google+ is professional provider of document, content and imaging solutions, available for ASP.NET AJAX, Silverlight, Windows Forms as well as WPF. We are dedicated to provide powerful & profession imaging controls, PDF document, image to pdf files and components for capturing, viewing, processing, converting, compressing and stroing images, documents and more.

©2000-2017 Raster