Guide for C#
Select Document Source
Core Document Formats
Additional Features

C# Imaging - Select Document or Image to View

Select and Load Document and Image Source into C#.NET Project Web Viewer

Visual C#
VB.NET
Home > .NET Imaging SDK > C# > Select Document Source to View

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

After you successfully integrate .NET Web Viewer Control DLL into your C# web application, now you may feel free to load document or image into created web viewer to view or do advanced manipulations.
Related .net document control helps:
asp.net mvc text file viewer: ASP.NET Text file viewer in MVC, WebForms: Open, view, annotate, convert txt files in C# ASP.NET
asp.net tiff viewer control: ASP.NET Tiff Viewer: view, annotate multipage Tiff images in ASP.NET MVC, WebForms using C# Control
asp.net open word document in browser: ASP.NET Office Word Document Viewer: view Word doc files online using C# in ASP.NET MVC web applications
asp.net document viewer control: EdgeDoc:ASP.NET Document Viewer C# Control: Open, view, annotate, redact, convert documents online in C#, VB.NET, AS...
asp.net edit pdf page: ASP.NET PDF Pages Edit Control: add, remove, sort, replace PDF pages online using C#
asp.net pdf document viewer: ASP.NET PDF Document Viewer in C#: open, display, view, annotate, redact Adobe PDF files online in ASP.NET MVC & WebForm...
asp.net mvc document viewer: ASP.NET MVC Document Viewer: view, annotate, redact files on ASP.NET MVC web projects
On this C#.NET tutorial page, you will learn more details related to selecting document or image source into web viewer.
  • Supported documents and images in web viewer
  • Three ways to load documents and images into web viewer
  • How to customize the loading process of web viewer
C# Web Viewing - Document & Image Formats
At the very beginning, please make sure what documents and images are supported by RasterEdge C#.NET Web Viewer DLL.
  • Supported document formats: TIFF, PDF, Office Word, Excel, PowerPoint, Dicom
  • Supported image formats: PNG, GIF, JPEG, Bitmap, JPEG2000, and JIBIG2
C# Web Viewing - Three Ways to Load Source File
RasterEdge .NET Web Viewer Library enables Visual C# programmers easily to select and load document or image from three kinds of sources file, including file in stream or byte array form, and in local disk. Loaded file can be viewed and navigated throw thumbnail image or document outline.
C# Web Viewing - Customize Loading Process
Web document and image loading process can be customized in Default.aspx.cs using LoadFile(string filePath, string fid), LoadFile(Stream stream, string fid) and LoadFile(byte[] array, string fid) in Class REDocumentControl respectively.
C# Web Viewing - Tips
C# developers may encounter the following circumstances when using Web Viewer SDK in C#.NET web imaging application. As for these circumstances, we provide some tips.
  • End users may upload document or image files to view. In this case, the C#.NET web viewer project will cache the files, and use LoadFile(string filePath, string fid) to locate the cached file to view. This case is in default in the demo project.
  • Load file from the content management system on the server where you deploy your C#.NET web project. You may use urls to locate document files in the server.
    The method public void LoadFileFromUrl() in Default.aspx.cs can be used to customize your option.
  • Document source can sometimes be stream or byte array that is transmitted via Internet or obtained from a database system. In these circumstances, you may use LoadFile(Stream stream, string fid) or LoadFile(byte[] array, string fid) to customize LoadFileFromUpload() method within Default.aspx.cs file to meet your need.
More Related C# Tutorials!
You may find more online guides for using .NET Web Viewer SDK in C# applications.


Recommend this to Google+


RasterEdge.com is professional provider of ASP.NET MVC Document Viewer, ASP.NET PDF Viewer, MVC PDF Viewer 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 Edge.com