Message-ID: <1094220480.9127.1711676781868.JavaMail.web05$@web05> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_9126_747410369.1711676781868" ------=_Part_9126_747410369.1711676781868 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html
Returns the exact version of WordWriter.
=20public System.String Version{ get; }=20
Public ReadOnly Property Version() As String=20
The format of the version string returned is:
=20SoftArtisans.ProductName Major.Minor.Patch.Build (mmddyyyy-hhmmss-buildMachineId)=20
Place Holder | =20
Description | =20
---|---|
ProductName | =20
A product name like "SoftArtisans.WordW= riter." Note: the product name may be different depending on what lice= nse key is in effect. | =20
Major | =20
Major release number. | =20
Minor | =20
Minor release number. | =20
Patch | =20
Patch or bug fix number. | =20
Build | =20
Build number. | =20
mmddyyyy | =20
Date the build was compiled. | =20
hhmmss | =20
Time the build was compiled. | =20
buildMachineId | =20
Unique computer ID for the computer on which= this product was compiled. | =20
WordTemplate WordTempl =3D new WordTemplate(); string Version =3D WordTempl.Version; string[] NamesArr =3D {"WordWriterVersion", "DateT= ime"}; object[] ValuesArr =3D {Version, DateTime.Now}; WordTempl.Open(Page.MapPath("./BasicTemplate.doc")); WordTempl.SetDataSource(ValuesArr, NamesArr); WordTempl.Process(); WordTempl.Save(Page.Response, "BasicGenerated.doc", fal= se);=20
Dim WordTempl As New WordTemplate() Dim Version As String =3D WordTempl.Version Dim NamesArr As String() =3D {"WordWriterVersion", &quo= t;DateTime"} Dim ValuesArr As Object() =3D {Version, DateTime.Now} WordTempl.Open(Page.MapPath("./BasicTemplate.doc")) WordTempl.SetDataSource(ValuesArr, NamesArr) WordTempl.Process() WordTempl.Save(Page.Response, "BasicGenerated.doc", Fal= se)=20