Message-ID: <699484151.9949.1711707223904.JavaMail.web05$@web05> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_9948_1277006667.1711707223904" ------=_Part_9948_1277006667.1711707223904 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html
The PowerPointTemplate= object represents a PowerPointWriter template presentation.
=20public class PowerPointTemplate=20
Public Class PowerPointTemplate=20
A PowerPointWriter template is a file created in Microsoft PowerPoint th= at contains data markers.
=20A data marker specifies which database column, variable, or array to ins= ert into the presentation where the data marker exists.
=20The PowerPointTemplate
object is in the SoftArtisans.=
PowerPointWriter
namespace. The object can be referenced as So=
ftArtisans.PowerPointWriter.PowerPointTemplate
. To minimize typing a=
nd errors, use an Import
directive to import the namespace to =
the aspx page, and reference the object as PowerPointTemplate
,=
without the namespace prefix.
If you are coding directly in the .aspx page, following the Page directi= ve, include:
=20<%@ Import Namespace=3D"SoftArtisans.PowerPointWriter" %>= pre>=20
If you are coding in the "code behind" page (.aspx.vb or .aspx=
.cs), include an Imports
or using
statement at th=
e top of the "code behind" page:
using SoftArtisans.PowerPointWriter;=20
Imports SoftArtisans.PowerPointWriter=20
To create an instance of the ExcelTemplate
object use:
PowerPointTemplate ppt =3D new PowerPointTemplate();=20
Dim ppt As New PowerPointTemplate()=20
Name | =20
Description | =20
---|
=20 | Sets a two-dimensional array of objects as a te= mplate data source | =20
BindData(Object()(), String(), String, DataBindingProperties) <= /p> | =20
Sets a two-dimensional array of objects as a te= mplate data source | =20
BindData(System.Data.DataTable, String, DataBindingProperties) = | =20
Sets an ADO.NET DataTable as a data source to b= ind to template data markers. | =20
=20 | Creates a DataBindingProperties object for assigning the property val= ues associated with one or more data binding calls. | =20
=20 | Creates a new PowerPointTemplate object | =20
=20 | Passes a presentation from PowerPointApplication to PowerPointTemplate. | =20
=20 | Opens a PowerPointWriter template presentation = file from the specified disk location. A PowerPointWriter template is a fil= e created in Microsoft PowerPoint that contains data markers where data sou= rce values will be inserted. | =20
=20 | Opens a PowerPointWriter template presentation = file from the specified System.IO.Stream instance. A PowerPointWriter templ= ate is a file created in Microsoft PowerPoint that contains data markers wh= ere data source values will be inserted. | =20
=20 | The Process method replaces the template's data markers with actua= l values from the data sources, and creates the output file (the new presen= tation file) in memory. The Save method can then save the output file to disk, stream it to the= browser, or both. | =20
=20 | Saves the PowerPointTemplate to disk. The locat=
ion is specified by the filename parameter. | =20
=20 | Saves the PowerPointTemplate to a stream passed= in as the stream parameter. | =20
=20 | Streams the PowerPointTemplate to the client. <= /td>=20 |
=20 | Streams the PowerPointTemplate to the client. T= his method allows you to specify a default client-side file name, and wheth= er the file should be opened in the browser window or in Microsoft PowerPoi= nt. | =20