These sample source codes on this page below are displaying how to change cell width and height with spreadsheet sdk in VB.NET. 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. It can change cell width and height with spreadsheet sdk in VB.NET.
Want to save time? You will save a lot of time on writing and testing code as you may just take the VB.NET code from ByteScout Data Extraction Suite for change cell width and height with spreadsheet sdk below and use it in your application. Follow the instructions from scratch to work and copy the VB.NET code. Use of ByteScout Data Extraction Suite in VB.NET is also described in the documentation included along with the product.
The trial version of ByteScout Data Extraction Suite can be downloaded for free from our website. It also includes source code samples for VB.NET and other programming languages.
Imports Bytescout.Spreadsheet Imports System.IO Imports System.Diagnostics Module Module1 Sub Main() Dim document As New Spreadsheet() Dim worksheet As Worksheet = document.Workbook.Worksheets.Add() worksheet.Rows(1).Height = 100 ' remove output file if already exists If File.Exists("Output.xls") Then File.Delete("Output.xls") End If ' Save document document.SaveAs("Output.xls") ' Close Spreadsheet document.Close() ' open in default spreadsheets viewer/editor Process.Start("Output.xls") End Sub End Module