VB.NET PDF to Bitmap Library
How to convert PDF to bitmap (bmp) images using VB.NET in Windows Forms, WPF, ASP.NET application
Visual Basic .NET PDF page to BMP image Convertion without Acrobat and open source library, such as itextsharp, pdfsharp, imagemagick.
In this Visual Basic .NET tutorial, you will learn how to convert PDF pages to bitmap (.bmp) image files using VB.NET in WPF, Windows Forms application and ASP.NET MVC web app.
How to convert PDF to Bitmap image in VB.NET code?
VB.NET PDF Conversion SDK has a PDF to BMP conversion functionality which offers the best and most accurate solution for converting PDF document to BMP file.
C# developers could view the tutorial page with C# code at
How to convert PDF to bitmap images in C# ASP.NET.
The conversion speed is amazing with high quality and lossless output. Contents, pictures and formats of the original PDF document will be preserved during the conversion process. PDF to BMP conversion task in VB.NET is finished with this .NET Doc Image Conversion SDK independently without help from any other component.
asp.net remove image from pdf page,
asp net replace text fro pdf free,
asp.net mvc pdf editor,
asp.net pdf viewer user control,
asp.net mvc display pdf,
asp.net open word document,
asp.net core pdf preview.
This VB.NET image conversion library allows developers to convert more than one PDF files to BMP images with only one conversion operation. Besides, PDF document can be converted not only to BMP format, but also to other document and image formats, such as Gif, JPEG and PNG. User guide with VB.NET sample code is offered for each kind of conversion in order to make the conversion easier and faster.
View more about C# PDF conversion library at
c# pdf converter,
pdf to word c# open source,
convert pdf to tiff using c#.net,
convert multiple images to pdf c#,
excel to pdf using c#,
word to pdf c# sample,
c# render pdf to image.
Users are free to download the VB.NET PDF Conversion SDK evaluation version by clicking the Download Now button on this page. This Conversion SDK evaluation version can be used in non-commercial applications for simple and quick PDF document conversion. For more information on PDF to BMP conversion in VB.NET, please view the details below.
How to convert PDF page to Bitmap image using VB.NET
The following steps and sample c# code will show how to quickly convert a PDF page to BMP image.
- Define a new PDFDocument object with an existing PDF document read
- Get a new PDFPage object from the first page of the PDF document
- Use PDFPage.ConvertToImage() to convert PDF page to a bitmap (.bmp) file
Dim inputFilePath As String = "C:\1.pdf"
Dim outputFilePath As String = "C:\output.bmp"
' Open file and get the target page
Dim doc As PDFDocument = New PDFDocument(inputFilePath)
Dim page As PDFPage = doc.GetPage(0)
' Convert page to a Bitmap image
page.ConvertToImage(ImageType.BMP, outputFilePath)
PDF to Bitmap Image Options in VB.NET code
In your Visual Basic .NET code, you will use "ImageOutputOption" class to set the converted bitmap image options.
- Color: You can choose the converted bitmap image color is Monochrome, Gray, or Color.
- Zoom: Set zoom value to 2F. Use more pixels to render a PDF page to bitmap.
- Resolution: Set bitmap image resolution value (in dpi).
Dim inputFilePath As String = "C:\1.pdf"
Dim outputFilePath As String = "C:\output.bmp"
Dim options As ImageOutputOption = New ImageOutputOption()
' Set output image type.
options.Type = ImageType.BMP
' Output image Is grayscale.
options.Color = ColorType.Gray
' Set zoom value to 2F. Use more pixels to render the PDF page.
options.Zoom = 2.0F
' Set resolution value in the Bitmap file to 300 dpi.
options.Resolution = 300
' Open file and get the target page
Dim doc As PDFDocument = New PDFDocument(inputFilePath)
Dim page As PDFPage = doc.GetPage(0)
' Convert page to a Bitmap image
page.ConvertToImage(options, outputFilePath)