Guide for C#
Core Document Formats
Windows Forms Viewer
Additional Features

C# TIFF - Create Windows TIFF Viewer in C#.NET

Visual C# Guide for Creating Windows TIFF Viewer with DocImage SDK for .NET

Visual C#
Home > .NET Imaging SDK > C# > Create TIFF Windows Viewer

" This online guide content is Out Dated!
    Please get the latest Create Tiff Windows Viewer Developer Guide here.
ASP.NET TIFF Viewer open, display, view, navigate multipage tiff document in ASP.NET MVC, WebForms.
ASP.NET Document Viewer view, annotate, redact PDF, Word, Excel, PowerPoint, Tiff documents in HTML5, JQuery.
ASP.NET PDF Viewer open, view, annotate, redact, convert Adobe PDF documents in ASP.NET using HTML5, JQuery. "

C# TIFF Document Windows Viewer - Overview
Compared with TIFF online web viewer, creating TIFF windows viewer in C#.NET would be much easier. Rasteredge DocImage SDK for .NET offers outstanding TIFF Windows Viewer Control which enables TIFF document loading, navigating, viewing, TIFF page annotating, processing, TIFF document saving and more. c# itextsharp add text to pdf, azure pdf conversion, pdf pages c#, create pdf report from database in asp.net using vb.net, c# print pdf without adobe, code 128 barcode reader c#. With this tutorial, C#.NET developers may quickly and precisely add TIFF viewing functionality into .NET Windows imaging application.
Related .net document control helps:
asp.net pdf page: ASP.NET PDF Pages Edit Control: add, remove, sort, replace PDF pages online using C#
asp.net mvc pdf editor: ASP.NET MVC PDF Viewer & Editor: view, annotate, redact, edit PDF document in C# ASP.NET MVC
asp.net document viewer c#: ASP.NET Document Viewer using C#: Open, View, Annotate, Redact, Convert document files in ASP.NET using C#, HTML5, JQuer...
asp.net mvc document viewer: ASP.NET MVC Document Viewer: view, annotate, redact files on ASP.NET MVC web projects
asp.net pdf viewer: ASP.NET PDF Viewer Control: view, navigate, zoom Adobe PDF document in C# ASP.NET
asp.net excel viewer: ASP.NET Excel Viewer in C# Control (MVC & WebForms): view Office Excel document in web browser.
asp.net image viewer: ASP.NET Image Viewer Control(MVC & WebForms): view, annotate, redact, convert image files in html, JQuery
Users can learn following information in this TIFF Windows viewer creating guide. c# wpf adobe pdf reader, vb.net edit pdf, c# pdf page add, c# pdf embed font, reduce pdf file size in c#, print pdf vb.net without acrobat, c# pdf add background.
  • Feature list of TIFF document Windows viewer in C#.NET project
  • How to create TIFF image Windows viewer in C#.NET application
  • Other related image and document Windows viewers
C#.NET TIFF Windows Viewer Features
  • Compatible with Visual C#.NET Windows Forms imaging applications
  • Programmed in full managed Visual C# class library
  • C# code to create and customize TIFF Windows viewer interface
  • Viewer functions can be added or removed with a simple C#.NET class code
  • Support loading single-page and multi-page TIFF files at high speed
  • Add, delete, and reorder TIFF image file pages within created Windows viewer
  • Mature and rich TIFF document annotating support
  • Simple to save and output TIFF document in C#.NET Windows Forms application
How to Create TIFF Image Windows Viewer in C#
RasterEdge provides highly spoken technology support for all C# users who apply RasterEdge .NET Imaging SDK. Following procedures demonstrates how to easily and quickly create TIFF document viewer in C#.NET Windows application within Microsoft .NET Framework 2.0+ and Visual Studio 2005+.

Add TIFF Windows Viewer to C#.NET Project

1. Set up Visual C#.NET TIFF imaging project.
  1. Create a Windows Forms project (WinViewerDemo) in your Visual Studio.
  2. Add RasterEdge .NET Windows Viewer DLL to your Visual C#.NET TIFF imaging project reference: right-click on project item, choose "Add Reference...", locate and choose RasterEdge.XDoc.WindowsViewer.dll in package "Bin" folder, and click "OK";
  3. You will find .NET Windows Viewer Control has been added to your C#.NET project.
2. Open TIFF File from Specified Path.
  1. Drag the added WinForms Viewer Control to your C#.NET TIFF image viewing project form;
  2. Use C# demo code below to open a TIFF document. In details, this demo code helps to design an open file dialog, with which C# users can click to choose a TIFF file to view on Windows Viewer Control. If failed to load, there would be an notice with "cannot open your file". This is because your target file format is not supported by .NET Windows Viewer Control.
If you want to try more functions (design Thumbnail, Navigation, Zoom and so on), please refer to Create Windows Viewer Guide.
public void Form1()
{
	InitializeComponent();
	// Set the windows viewer display options.
	ViewerOptions option = new ViewerOptions();
	// Set the windows viewer height and width. This step is necessary, otherwise will crash.
	option.DocViewerWidth = 400;
	option.DocViewerHeight = 400;
	// Show the thumbnail, true or false.
	option.ShowThumb = true;
	// The location of thumbnail, left, right, top or bottom.
	option.ThumbDock = ThumbDock.Left;
	// Set the thumbnail height
	option.ThumbViewerHeight = 1000;
	// Set whether the document viewer is spread as winViewer
	option.SizeByDocViewer = false;
	// Create windows viewer form.
	winViewer = new WinViewer(option);
	winViewer.Height = 800;
	winViewer.Width = 1000;
	// Add the windows viewer to your own form.
	this.panel1.Controls.Add(winViewer);
}
private void OpenFile_Click(object sender, EventArgse)
{
	OpenFileDialog ofd = new OpenFileDialog();
	ofd.Filter = "(*.*)|*.*";
	ofd.Multiselect = false;
	if (ofd.ShowDialog() == DialogResult.OK)
	{
		this.winViewer.LoadFromFile(ofd.FileName);
	}
}
3. Draw Annotation on TIFF Image File Page.
  1. Call a single C#.NET method for each kind of supportive TIFF image annotation that you want to support in your toolbar button's Onclick events.
  2. Free to resize, burn or delete created TIFF image annotation in C#.NET Windows Forms Viewer: right-click the added annotation, and choose delete or burn.
  3. Add buttons to complete other Windows TIFF Viewer operations, like adding new TIFF page, deleting current TIFF page, and more.
private void HighLight_Click(object sender, EventArgse)
{
this.winViewer1.DrawHighLight();
}

private void Text_Click(object sender, EventArgse)
{
this.winViewer1.DrawText();
}

C#.NET TIFF Windows Viewer Control APIs

RasterEdge .NET Windows Viewer Control provides C#.NET developers with various mature APIs for TIFF image file viewing and manipulating in .NET Windows Forms application.
Here, list all of them, including LoadFromFile(String filePath), SaveFile(String filePath), UpPage, DownPage, ZoomIn, ZoomOut, FitWidth, FitHeight, ShowOneToOne, AddPage, DeletePage, Roate90, Rotate180, Rotate270, DrawText, DrawFreehand, DrawLine, DrawPolygonLines, DrawFilledRectangle, DrawRectangle, DrawHighLight, DrawEllipse, DrawPolygon, DrawRubberStamp, BurnAnnotation, DeleteAnnotation.
Other Related Imaging Viewers in .NET Projects
This page just demonstrates how to create TIFF document Windows viewer in C#.NET, and users can find more image and document viewers creating tutorials in .NET applications by using RasterEdge .NET Imaging Viewer SDK controls.


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-2024 Raster Edge.com