Read Document Properties - VB.NET
Spreadsheet SDK sample in VB.NET demonstrating ‘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
Resources.Designer.vb
��' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
' <