Guide for VB.NET
Printing & Saving Image
Core Document Formats
Additional Features

VB.NET Imaging - Image Saving & Printing Using VB

How to Save & Print Image / Photo Using VB.NET Programming Code

VB.NET
Home > .NET Imaging SDK > VB.NET > Save and Print Image
To get started with DocImage SDK for .NET, you are supposed to read VB.NET Imaging: Get Started first!

VB.NET Image Saving & Image Printing
How to save source image from your VB.NET class application as you want? How to print target image file from your VB.NET class application? add image to pdf itextsharp vb.net, convert pdf to jpg c# codeproject, vb.net print to pdf, c# free tiff library, itextsharp excel to pdf example c#, data matrix generator c# open source. In order to achieve above two tasks, VB developers need to integrate advanced & mature image saving and printing functions into their VB.NET class applications.
Related .net document control helps:
asp.net mvc word viewer: ASP.NET Office Word Document Viewer: view Word doc files online using C# in ASP.NET MVC web applications
c# asp.net pdf editor: EdgePDF: ASP.NET PDF Editor Web Control: Online view, annotate, redact, edit, process, convert PDF documents
asp.net pdf document viewer c#: ASP.NET PDF Document Viewer in C#: open, display, view, annotate, redact Adobe PDF files online in ASP.NET MVC & WebForm...
asp.net dicom library: ASP.NET Dicom Document Viewer Control: view, annotate dicom imaging files online in ASP.NET
asp.net annotate pdf using c#: ASP.NET Annotate PDF Control: annotate, comment, markup PDF document online using ASP.NET C#
asp.net mvc pdf editor using c#: ASP.NET MVC PDF Viewer & Editor: view, annotate, redact, edit PDF document in C# ASP.NET MVC
c# asp.net mvc document viewer: ASP.NET MVC Document Viewer: view, annotate, redact files on ASP.NET MVC web projects
This VB.NET image saving & printing control add-on is a robust and professional .NET image solution that is developed to help VB.NET programmers save & print image / photo / picture from ASP.NET web application or .NET Windows Forms project, without having any dependency on other image editors or image processors. display first page of pdf as image in c#, c# pdf combine, vb.net search pdf for text, c# get pdf font, vb.net create pdf thumbnail background color, c# convert pdf to bmp, vb.net pdf to png.
This online tutorial page will tell you how to save and print image / picture file using Visual Basic .NET programming code from following aspects.
  • Key features of VB.NET image saving and printing technologies
  • Brief overview of the library dll that is used to save & print image file by VB.NET code
  • VB.NET method & sample code for image saving in .NET Framework application
  • VB.NET method and demo code to add image printing features to .NET project
VB.NET Image Saving & Printing Control Features
  • Powerful VB.NET imaging solution that can save & print 30+ image file formats
  • Allow VB.NET developers to save source image file to local disks, FTP or HTTP server
  • Able to print target image file with both low resolution and high resolution printers by VB.NET code
  • Capable of saving and printing multi-page document files, like PDF and Word, in VB.NET class application
  • Support normal image printing features like number of copies, orientation and resolution
As this VB.NET image saving and printing control add-on is one component of DocImage SDK for .NET, it can also be integrated with other VB.NET imaging controls for image processing, viewing and manipulation. For example, if you integrate this VB.NET image saving and printing assembly with VB.NET web image viewer add-on, you can save & print image from web service within most modern browsers.
VB.NET Image Saving & Printing SDK DLL
This VB.NET image saving and printing SDK compacts all functions into a small size dll, called RasterEdge.Imaging.Basic.dll. This mature VB.NET image saving and printing dll can be easily integrated into other .NET developing application by adding reference directly.
As for the installation of this VB.NET image saving and printing SDK, there are two points that need to be addressed here. One is that VB.NET developers should read the evaluation license activation tutorial first before using this VB.NET image saving and printing SDK. The other is that this compact dll also has other outstanding image processing functions, like VB.NET image converting feature, image cropping function, image blurring effect, etc.
How to Save Image Using VB.NET
In this section, we will show you the process of using VB.NET code to save source image file.

VB.NET Method to Save Image / Picture

This VB.NET image saving control offers mature APIs for VB developers to save image file using different image encoders, including tif encoder, jpg encoder, png encoder, bmp encoder and gif encoder.
Shared Sub SaveImageFile(image As REImage, filePath As String)
End Sub
Public Shared Sub SaveImageFile(image As REImage, filePath As String, enc As BaseEncoder)
End Sub

VB.NET Code to Save Image / Photo

The following VB.NET sample code is used to illustrate how to save a sample png image file to local file with desired file name.
Imports RasterEdge.Imaging.Basic.Core
Imports RasterEdge.Imaging.Basic.Codec
Imports RasterEdge.Imaging.Basic

Namespace RE__Test
Public Partial Class Form1
Inherits Form
Public Sub New()
InitializeComponent()
End Sub

Private Sub button1_Click(sender As Object, e As EventArgs)
Dim fileName As String = "c:/Sample.png"

Dim reImage As REImage = REFile.OpenImageFile(fileName)

REFile.SaveImageFile(reImage, "c:/reimage.png", New PNGEncoder())
End Sub
End Class
End Namespace
How to Print Image Using VB.NET
From this section, you will have a better understanding of how to print image using RasterEdge VB.NET image printing control.

VB.NET Method to Print Image

Private Function Print(ImageID As Integer) As [Public]
End Function

VB.NET Code to Print Image

Imports RasterEdge.Imaging.Basic.Core
Imports RasterEdge.Imaging.Basic.Codec
Imports RasterEdge.Imaging.Basic

Namespace RE__Test
Public Partial Class Form1
Inherits Form
Public Sub New()
InitializeComponent()
End Sub

Private Sub button1_Click(sender As Object, e As EventArgs)
Dim fileName As String = "c:/Sample.png"

Dim reImage As REImage = REFile.OpenImageFile(fileName)

REFile.PrintImageFile(reImage, "c:/reimage.png")
End Sub
End Class
End Namespace
If you want to integrate image saving and printing functions into C#.NET class application, please fell free to visit this C#.NET image saving and printing tutorial page.


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