Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Description

Excerpt

Returns the exact version of ExcelWriter.

Signature
C#
C#
  public System.String Version{ get; }
Signature
vb.net
vb.net

Public ReadOnly Property Version() As String
Remarks

The String returned by ExcelTemplate.Version is of the following format:

Code Block
             SoftArtisans.ProductName Major.Minor.Patch.Build
            (mmddyyyy-hhmmss-buildMachineId)

PlaceHolder

Description

ProductName

A product name like "SoftArtisans.ExcelWriter." Note: the product name may be different depending on what license key is in effect.

Major

Major release number.

Minor

Minor release number.

Patch

Patch or bug fix number.

Build

Build number.

mmddyyyy

Date the build was compiled.

hhmmss

Time the build was compiled.

buildMachineId

Unique computer ID for the computer on which this product was compiled.

Version is a Read Only property.

Example
Code Block
csharp
csharp
titleC#
            string version = xlt.Version;

          //--- Bind the version to the data marker
          //--- %%=$ExcelWriterVersion.
          xlt.SetCellDataSource(version, "ExcelWriterVersion");
        
Code Block
vb.net
vb.net
titlevb.net
            Dim version As String = xlt.Version

          '--- Bind the version to the data marker
          '--- %%=$ExcelWriterVersion.
          xlt.SetCellDataSource(version, "ExcelWriterVersion")