ByteScout Spreadsheet SDK – VB.NET – Read Document Properties

  • Home
  • /
  • Articles
  • /
  • ByteScout Spreadsheet SDK – VB.NET – Read Document Properties

ByteScout Spreadsheet SDK – VB.NET – Read Document Properties

Module1.vb

Imports System
Imports System.Collections.Generic
Imports System.Text
Imports Bytescout.Spreadsheet

Module Module1

    Sub Main()
        ' read spreadsheet
        Dim document As Spreadsheet = New Spreadsheet()
document.LoadFromFile("Input.xls")

        Console.WriteLine("Reading XLS properties")

        ' Get some properties
        Console.WriteLine("Author: " + document.Workbook.Properties.Author)
        Console.WriteLine("Comments: " + document.Workbook.Properties.Comments)
        Console.WriteLine("Subject: " + document.Workbook.Properties.Subject)

        Console.ReadKey()

        document.Close()        

    End Sub

End Module


  Click here to get your Free Trial version of the SDK

prev
next