The coding instructions are formulated to help you to try-out the features without the requirement to write your own code. ByteScout Data Extraction Suite is the set that includes 3 SDK products for data extraction from PDF, scans, images and from spreadsheets: PDF Extractor SDK, Data Extraction SDK, Barcode Reader SDK and you can use it to insert page break with spreadsheet sdk with VB.NET.
The SDK samples given below describe how to quickly make your application do insert page break with spreadsheet sdk in VB.NET with the help of ByteScout Data Extraction Suite. Follow the instructions from scratch to work and copy the VB.NET code. If you want to use these VB.NET sample examples in one or many applications then they can be used easily.
ByteScout Data Extraction Suite free trial version is available on our website. VB.NET and other programming languages are supported.
Imports System.IO Imports System.Diagnostics Imports Bytescout.Spreadsheet Imports Bytescout.Spreadsheet.Structures Class Program Friend Shared Sub Main(args As String()) ' Create new Spreadsheet Dim document As New Spreadsheet() ' Add new worksheet Dim worksheet As Worksheet = document.Workbook.Worksheets.Add("HelloWorld") ' Set cell value worksheet.Cell(0, 0).Value = "Hello, World!" ' Add horizontal page break worksheet.HPageBreaks.Add(New CellsRange("A10")) ' Add vertical page break worksheet.VPageBreaks.Add(New CellsRange("F1")) ' Save document document.SaveAs("Output.xls") ' Close Spreadsheet document.Close() ' Open generated XLS document in default associated application Process.Start("Output.xls") End Sub End Class