Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin
Wiki Markup
h1. PowerPointTemplate

{description}
{excerpt}The [PowerPointTemplate] object represents a PowerPointWriter template presentation.
{excerpt}
{signature:C#}
public class PowerPointTemplate
{signature}{signature:vb.net}
Public Class PowerPointTemplate
{signature}
{remarks}

A PowerPointWriter template is a file created in Microsoft PowerPoint that contains data markers. 

A data marker specifies which database column, variable, or array to insert into the presentation where the data marker exists. 

The {{PowerPointTemplate}} object is in the {{SoftArtisans.PowerPointWriter}} namespace. The object can be referenced as {{SoftArtisans.PowerPointWriter.PowerPointTemplate}}. To minimize typing and errors, use an {{Import}} directive to import the namespace to the aspx page, and reference the object as {{PowerPointTemplate}}, without the namespace prefix. 

{remarks}

{example}If you are coding directly in the .aspx page, following the Page directive, include:
{code}
<%@ Import Namespace="SoftArtisans.PowerPointWriter" %>{code}
If you are coding in the "code behind" page \(.aspx.vb or .aspx.cs\), include an {{Imports}} or {{using}} statement at the top of the "code behind" page:{code:csharp|title=C#}
using SoftArtisans.PowerPointWriter;{code}
{code:vbnet|title=vb.net}
Imports SoftArtisans.PowerPointWriter{code}
To create an instance of the {{ExcelTemplate}} object use:{code:csharp|title=C#}
PowerPointTemplate ppt = new PowerPointTemplate();{code}
{code:vbnet|title=vb.net}
Dim ppt As New PowerPointTemplate(){code}

{example}

{methods}
|| Name || Description ||

| [BindData(Object(), String(), String, DataBindingProperties)|PowerPointTemplate.BindData(Object(), String(), String, PowerPointWriter.DataBindingProperties)] | {excerpt-include:PowerPointTemplate.BindData(Object()(), String(), String, PowerPointWriter.DataBindingProperties)|nopanel=true} |
| [BindData(Object()(), String(), String, DataBindingProperties)|PowerPointTemplate.BindData(Object()(), String(), String, PowerPointWriter.DataBindingProperties)] | {excerpt-include:PowerPointTemplate.BindData(Object()(), String(), String, PowerPointWriter.DataBindingProperties)|nopanel=true} |
| [BindData(System.Data.DataTable, String, DataBindingProperties)|PowerPointTemplate.BindData(System.Data.DataTable, String, PowerPointWriter.DataBindingProperties)] | {excerpt-include:PowerPointTemplate.BindData(System.Data.DataTable, String, PowerPointWriter.DataBindingProperties)|nopanel=true} |
| [CreateDataBindingProperties()|PowerPointTemplate.CreateDataBindingProperties()] | {excerpt-include:PowerPointTemplate.CreateDataBindingProperties()|nopanel=true} |
| [PowerPointTemplate()|PowerPointTemplate.PowerPointTemplate()] | {excerpt-include:PowerPointTemplate.PowerPointTemplate()|nopanel=true} |
| [Open(PowerPointApplication, Presentation)|PowerPointTemplate.Open(PowerPointWriter.PowerPointApplication, PowerPointWriter.Presentation)] | {excerpt-include:PowerPointTemplate.Open(PowerPointWriter.PowerPointApplication, PowerPointWriter.Presentation)|nopanel=true} |
| [Open(String)|PowerPointTemplate.Open(String)] | {excerpt-include:PowerPointTemplate.Open(String)|nopanel=true} |
| [Open(System.IO.Stream)|PowerPointTemplate.Open(System.IO.Stream)] | {excerpt-include:PowerPointTemplate.Open(System.IO.Stream)|nopanel=true} |
| [Process()|PowerPointTemplate.Process()] | {excerpt-include:PowerPointTemplate.Process()|nopanel=true} |
| [Save(String)|PowerPointTemplate.Save(String)] | {excerpt-include:PowerPointTemplate.Save(String)|nopanel=true} |
| [Save(System.IO.Stream)|PowerPointTemplate.Save(System.IO.Stream)] | {excerpt-include:PowerPointTemplate.Save(System.IO.Stream)|nopanel=true} |
| [Save(System.Web.HttpResponse)|PowerPointTemplate.Save(System.Web.HttpResponse)] | {excerpt-include:PowerPointTemplate.Save(System.Web.HttpResponse)|nopanel=true} |
| [Save(System.Web.HttpResponse, String, Boolean)|PowerPointTemplate.Save(System.Web.HttpResponse, String, Boolean)] | {excerpt-include:PowerPointTemplate.Save(System.Web.HttpResponse, String, Boolean)|nopanel=true} |