We regularly create and update our sample code library so you may quickly learn override resolution in multipage tiff with pdf renderer sdk and the step-by-step process in VB.NET. ByteScout Premium Suite was made to help with override resolution in multipage tiff with pdf renderer sdk in VB.NET. ByteScout Premium Suite is the set that includes 12 SDK products from ByteScout including tools and components for PDF, barcodes, spreadsheets, screen video recording.
If you want to quickly learn then these fast application programming interfaces of ByteScout Premium Suite for VB.NET plus the guideline and the VB.NET code below will help you quickly learn override resolution in multipage tiff with pdf renderer sdk. If you want to know how it works, then this VB.NET sample code should be copied and pasted into your application’s code editor. Then just compile and run it. Further improvement of the code will make it more robust.
If you want to try other samples for VB.NET then free trial version of ByteScout Premium Suite is available on our website.
Imports Bytescout.PDFRenderer Class Program Friend Shared Sub Main(args As String()) ' Create an instance of Bytescout.PDFRenderer.RasterRenderer object and register it. Dim renderer As New RasterRenderer() renderer.RegistrationName = "demo" renderer.RegistrationKey = "demo" ' Load PDF document. renderer.LoadDocumentFromFile("multipage.pdf") ' define page to start from Dim startPage As Integer = 0 ' define page to end on Dim endPage As Integer = renderer.GetPageCount() - 1 ' Save PDF document to black-and-white multi-page TIFF Dim renderingOptions As New RenderingOptions() renderingOptions.TIFFCompression = TIFFCompression.CCITT4 renderingOptions.ResolutionOverride = 300 ' Generate 800x600 px multipage TIFF renderer.SaveMultipageTiff("multipage.tiff", startPage, endPage, 600, 800, renderingOptions) ' Cleanup renderer.Dispose() ' Open the first output file in default image viewer. System.Diagnostics.Process.Start("multipage.tiff") End Sub End Class