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:
asp.net edit pdf page: ASP.NET PDF Pages Edit Control: add, remove, sort, replace PDF pages online using C#
asp.net redact pdf: ASP.NET Redact PDF Document Control: redact, remove PDF text, images in web browser using C# ASP.NET
document annotation asp.net: ASP.NET Document Annotation Control: text comment, drawing on files online using ASP.NET component
asp.net word file viewer: ASP.NET Office Word Document Viewer: view MS Office Word files online using C# in ASP.NET web applications
asp.net azure pdf editor: ASP.NET Azure PDF Editor Control: view, edit, annotate, redact PDF files online
asp.net document viewer: ASP.NET Document Viewer Control in C#: View, Annotate, Redact web document files in ASP.NET using C#
asp.net excel document viewer: ASP.NET Excel Document Viewer in C# Control: view office excel files online in ASP.NET web applications
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 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