ByteScout Data Extraction Suite - C# - Change document properties with spreadsheet sdk - ByteScout

ByteScout Data Extraction Suite – C# – Change document properties with spreadsheet sdk

  • Home
  • /
  • Articles
  • /
  • ByteScout Data Extraction Suite – C# – Change document properties with spreadsheet sdk

How to change document properties with spreadsheet sdk in C# and ByteScout Data Extraction Suite

Learn to change document properties with spreadsheet sdk in C#

These sample source codes on this page below are displaying how to change document properties with spreadsheet sdk in C#. ByteScout Data Extraction Suite: the bundle that includes three SDK tools for data extraction from PDF, scans, images and from spreadsheets: PDF Extractor SDK, Data Extraction SDK, Barcode Reader SDK. It can change document properties with spreadsheet sdk in C#.

The following code snippet for ByteScout Data Extraction Suite works best when you need to quickly change document properties with spreadsheet sdk in your C# application. Simply copy and paste in your C# project or application you and then run your app! Use of ByteScout Data Extraction Suite in C# is also described in the documentation included along with the product.

Our website gives trial version of ByteScout Data Extraction Suite for free. It also includes documentation and source code samples.

On-demand (REST Web API) version:
 Web API (on-demand version)

On-premise offline SDK for Windows:
 60 Day Free Trial (on-premise)

Program.cs
      
using System; using System.Collections.Generic; using System.Text; using System.IO; using System.Diagnostics; using Bytescout.Spreadsheet; namespace Book_properties_write { class Program { static void Main(string[] args) { // Create new Spreadsheet Spreadsheet document = new Spreadsheet(); // Add new worksheet Worksheet worksheet = document.Workbook.Worksheets.Add("Sheet1"); // Set some properties document.Workbook.Properties.ApplicationName = "Bytescout Spreadsheet SDK"; document.Workbook.Properties.Author = "Bytescout"; document.Workbook.Properties.Comments = "Some comments"; document.Workbook.Properties.Subject = "Some subject"; // delete output file if exists already if (File.Exists("Output.xls")){ File.Delete("Output.xls"); } document.SaveAs("Output.xls"); // open generated XLS document in default program Process.Start("Output.xls"); } } }

ON-PREMISE OFFLINE SDK

60 Day Free Trial or Visit ByteScout Data Extraction Suite Home Page

Explore ByteScout Data Extraction Suite Documentation

Explore Samples

Sign Up for ByteScout Data Extraction Suite Online Training

ON-DEMAND REST WEB API

Get Your API Key

Explore Web API Docs

Explore Web API Samples

VIDEO

ON-PREMISE OFFLINE SDK

60 Day Free Trial or Visit ByteScout Data Extraction Suite Home Page

Explore ByteScout Data Extraction Suite Documentation

Explore Samples

Sign Up for ByteScout Data Extraction Suite Online Training

ON-DEMAND REST WEB API

Get Your API Key

Explore Web API Docs

Explore Web API Samples

Tutorials:

prev
next