Guide for VB.NET
Core Document Formats
Additional Features

VB.NET Word - Use VB to Compress Word

How to Compress and Decode Word Document in VB.NET Project

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

VB Image: Word Encoder and Decoder Overview
Our .NET Word Doucment Imaging SDK provides VB developers and end users the most comprehensive and standard Word document compressing and decompressing technique that programmed by RasterEdge professional and excellent programmer team. Using this Word document compressing and decompressing library, you can simply and accurately encode and decode Word document according to the required size, without losing any original quality. Nay more, this Word Document Compressing DLL is easy to be integrated with users .NET, VB.NET docuemnt management system.
Related .net document control helps:
asp.net annotate pdf using c#: ASP.NET Annotate PDF Control: annotate, comment, markup PDF document online using ASP.NET C#
asp.net mvc excel viewer: ASP.NET Excel Viewer in C# Control (MVC & WebForms): view Office Excel document in web browser.
asp.net sharepoint document viewer open source: ASP.NET SharePoint Document Viewer: view, annotate, redact documents in SharePoint
c# asp.net word document viewer: ASP.NET Office Word Document Viewer: view Word doc files online using C# in ASP.NET MVC web applications
c# asp.net dicom viewer: ASP.NET Dicom Document Viewer Control: view, annotate dicom imaging files online in ASP.NET
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...
c# asp.net mvc document viewer: ASP.NET MVC Document Viewer: view, annotate, redact files on ASP.NET MVC web projects
RaterEdge VB.NET Word Document Compressing SDK is backed on the popular international lossy and lossless compression technologies that can empower professional developers and non-technique end users across your single or multiple threaded VB.NET project(s) to utilize and apply the advanced Word doc compression and decompression methods.
Apart from Word file compressing and decompressing solution, RasterEdge .NET Imaging SDK still supports users encoding and decoding many other image and document formats, including commonly used JBIG2 image compression and decompression component and JPEG 2000 encoding and decoding compressing library in VB.NET imaging program.
Clear article layout of this VB.NET Word file compressing and decompressing guidance:
  • Full feature and benefit list of VB.NET Word document compression and decoding
  • VB.NET Windows sample application for embedding Word document compressing library dll
  • Comprehensive Word file compressing and decompressing methods in VB class library
  • Overview of the complete sample VB code to compress and decompress target single or multiple Word document(s)
VB.NET Word File Compressing and Decompressing Features
  • Combine RasterEdge .NET Document Imaging Basic and Compressing DLLs within your VB.NET Word application
  • Compatible with the latest industry Word document image compressing standard in .NET Framework
  • Encode and decode single or multiple Word document(s) at one time within a few seconds
  • Compress Word document to the required size with an easy transmission by using VB methods
  • Support applying Word document compressing and decompressing application on both 32 bit and 64 bit operating systems
  • Keep the compressed or decoded Word document file to memory to reduce system space
  • More bitonal and monochrome imaging compressing and decompressing in VB.NET
VB.NET Project for Word Compression and Decompression
This short part is aimed to provide users with brief information on how to create a compliant VB.NET Windows desktop application for embedding Word Document Compressing and Decompressing SDK controls.
You know, this page is on Word compressing and decompressing in Visual VB.NET program, so creating a proper VB.NET Word application is indispensable for Word encoder and decoder. Please make sure that you have installed a Visual Studio on your computer at first, like VS 2005; and then you need to open it and add a VB class Windows application; last, simply implement all the required RasterEdge references to the VB project (including "RasterEdge.Imaging.Basic.dll", "RasterEdge.Imaging.MSWordDocx.dll" & "RasterEdge.Imaging.Processing.dll"). Now, you can start Word compression and decompression operation project with your granted developer license.
VB.NET Methods to Compress and Decompress Word
Please refer to following two methods for Word document compression and decompression in VB.NET project. Furthermore, you can also use these solutions for more document encoding and decoding developing.
Private Sub DocumentCompression(inFile As String, outFile As String, encoder As ImageEncoder)
End Sub
Private Sub DocumentDecompression(inFile As String, outFile As String, Decoder As ImageDecoder)
End Sub
VB.NET Code to Encode and Decode Word Document
Following two parts display the full demo code on compressing and decompressing single or multiple Word document(s) within VB.NET doc imaging application.

How to Use VB.NET Code to Compress Word File

Please follow VB sample code below to compress Word file, and also customize your own Word compressor via changing some adjustable code.
Private Sub button1_Click(sender As Object, e As EventArgs)

Dim reImage As REImage = REFile.ImageCompression.infile(@"C:\1.docx")

Dim reImage As REImage = REFile.ImageCompression.Outfile(@"C:\2.docx")

ImageEncoder = ImageEncoder.Group3Encoding

REFile.SaveImageFile(reImage,@"C:\1.docx", "C:\2.docx", ImageEncoder ImageEncoder.Group3Encoding)
End Sub

How to Use VB.NET Code to Decompress Word File

Contrary to Word document compression, following demo code are offered for users to decode and decompress Word document in VB project.
Private Sub button1_Click(sender As Object, e As EventArgs)

Dim reImage As REImage = REFile.ImageDecompression.infile(@"C:\1.docx")

Dim reImage As REImage = REFile.ImageDecompression.Outfile(@"C:\2.docx")

ImageDecoder = ImageDecoder.Group3Decoding

REFile.SaveImageFile(reImage,@"C:\1.docx", "C:\2.docx", ImageDecoder ImageDecoder.Group3Decoding)
End Sub


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