Ask Your Question

Revision history [back]

Imports System.IO Imports System.Drawing.Printing Imports RasterEdge.Imaging try this image resize code. http://www.rasteredge.com/how-to/vb-net-imaging/resize-image/ Imports RasterEdge.Imaging.Processing

Dim Image As New RasterEdgeImaging()

Private Shared Function ResizeImage() As Image If True Then Dim LoadImage As New Bitmap("C:\1.bmp") Dim newsize As Size = New size(width, height) Dim newsize As e.g.Size = New size(150, 250) End IfEnd Function Image.ResizeImage (@"C:\1.bmp", new size(150,250))

Imports System.IO Imports System.Drawing.Printing Imports RasterEdge.Imaging try this image resize code. here is an example of resizing image http://www.rasteredge.com/how-to/vb-net-imaging/resize-image/ code. Imports RasterEdge.Imaging.Processing

Dim Image As New RasterEdgeImaging()

Private Shared Function ResizeImage() As Image If True Then Dim LoadImage As New Bitmap("C:\1.bmp") Dim newsize As Size = New size(width, height) Dim newsize As e.g.Size = New size(150, 250) End IfEnd Function Image.ResizeImage (@"C:\1.bmp", new size(150,250))

Imports System.IO Imports System.Drawing.Printing Imports RasterEdge.Imaging here is an example of resizing imageimage. code. Imports System.IO Imports System.Drawing.Printing Imports RasterEdge.Imaging Imports RasterEdge.Imaging.Processing

Dim Image As New RasterEdgeImaging()

Private Shared Function ResizeImage() As Image If True Then Dim LoadImage As New Bitmap("C:\1.bmp") Dim newsize As Size = New size(width, height) Dim newsize As e.g.Size = New size(150, 250) End IfEnd Function Image.ResizeImage (@"C:\1.bmp", new size(150,250))