Guide for C#
Customize Your Web Viewer
Core Document Formats
Additional Features

C# Imaging - Customize Your Option in Web Viewer

How to Control and Set Web Viewer Options in C#.NET Application

Visual C#
VB.NET
Home > .NET Imaging SDK > C# > Customize Your Web Viewer

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

.NET Web Viewer Control, included in DocImage SDK for .NET package, is a professional, competitive, and cost-effective web image & document viewing solution for various C# applications. In download package, users can quickly run a C# demo project for this .NET Web Viewer solution to select and view various source documents and images. Also, web image and document annotating, saving and printing functions are also available (see details from left menu).
Related .net document control helps:
c# asp.net tiff viewer: ASP.NET Tiff Viewer: view, annotate multipage Tiff images in ASP.NET MVC, WebForms using C# Control
c# asp.net pdf editor: EdgePDF: ASP.NET PDF Editor Web Control: Online view, annotate, redact, edit, process, convert PDF documents
asp.net edit pdf page using c#: ASP.NET PDF Pages Edit Control: add, remove, sort, replace PDF pages online using C#
asp.net document viewer open source: EdgeDoc:ASP.NET Document Viewer C# Control: Open, view, annotate, redact, convert documents online in C#, VB.NET, AS...
asp.net edit pdf image using c#: ASP.NET PDF Image Edit Control: online insert, edit PDF images in C#
c# asp.net tiff viewer: ASP.NET Tiff Viewer: view, annotate multipage Tiff images in ASP.NET MVC, WebForms using C# Control
c# asp.net pdf editor: EdgePDF: ASP.NET PDF Editor Web Control: Online view, annotate, redact, edit, process, convert PDF documents
Now, on this page, C# users will be guided to set and control flexible options in web viewer, especially for document viewer width and height, as well as web document and image display format.
C# Web Document Viewer Width & Height
You can easily change width and height of your created web document viewer in Visual C#.NET program. And two attribute values can be adjusted and customized.
  • _viewerWidth: A float number representing the width of C#.NET REWebViewer control in pixel
  • _viewerHeight: A float number representing the height of C#.NET REWebViewer control in pixel
The default width and height settings of RasterEdge C#.NET web viewer is as below. Please directly change the corresponding attribute values of _viewer object in default. aspx page.
_viewer = new RasterEdgeViewer({
_viewerWidth: 1024,
_viewerHeight: 730,
});
C# Web Document Viewer Display Format
RasterEdge .NET Web Viewer Library for C# provides Visual C# programmers with two modes to display PDF, Office Word, Excel, and PowerPoint files. One is Bitmap and the other is SVG file format. The difference is that Bitmap is constructed by pixels while SVG is a vector image type. Both display options are well supported by most common web browsers, like IE, FireFox, Chrome, etc.
In Default.aspx file, _pdfViewer, _wordViewer and _excelViewer are properties for PDF, Word, and Excel settings respectively. These properties have two values, for which 1 represents SVG mode, and 0 represents Bitmap mode.
More Related C# Online Guides
In this part, you will see more guides related to .NET Web Viewer SDK in C# programming.


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