Message-ID: <1463815400.10133.1711714011483.JavaMail.web05$@web05> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_10132_642530588.1711714011483" ------=_Part_10132_642530588.1711714011483 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html PowerPointTemplate.LicenseKey

PowerPointTemplate.LicenseKey

Description

Sets or returns the 23-character license key that enables PowerPoint= Writer for the current instance. This key is stored in the registry and con= tains information including product name and version number.=20
C#
=20
 public System.String LicenseKey{ get; set; }
=20
=20
vb.net
=20
Public Property LicenseKey() As String
=20
=20

Remarks

This key does= not persist once the code completes execution. If this property is set, Po= werPointWriter will use this key and ignore any keys in the registry.=20

Examples

=20
C#
=20
          //--- Get LicenseKey
          string key =3D pptTemplate.LicenseKey;

          //--- Set LicenseKey
          PowerPointTemplate pptTemplate =3D new PowerPointTemplate();
          pptTemplate.LicenseKey =3D "XXXXXX-XXXX-XXXX-XXXXXX";
          pptTemplate.Open("Template.pptx");
        
=20
vb.net
=20
         '--- Get LicenseKey
          Dim key As String =3D pptTemplate.LicenseKey

          '--- Set LicenseKey
          Dim pptTemplate As New PowerPointTemplate()
          pptTemplate.LicenseKey =3D "XXXXXX-XXXX-XXXX-XXXXXX"
          pptTemplate.Open("Template.pptx")
        
=20
------=_Part_10132_642530588.1711714011483--