Exago .NET API Documentation
GetTemplate Method
Example 
WebReports.Api.ReportMgmt Namespace > ReportMgmtBase Class : GetTemplate Method
The name of the template file to retrieve from the database, as it appears in the Name field of the Storage Management content table.
Retrieve a template file from the Storage Management database, as an array of bytes.
Syntax
public System.byte[] GetTemplate( 
   System.string templateName
)

Parameters

templateName
The name of the template file to retrieve from the database, as it appears in the Name field of the Storage Management content table.

Return Value

An array of bytes that represents the file as it is stored in the database. It is up to the host .NET application to know the type of template file retrieved and to handle it appropriately.
Example
Retrieve a PDF template from the database and cast to it to a PDFDocument for further processing. NOTE: PdfDocument is not a class in the Exago API.
PdfDocument pdf = (PdfDocument)api.ReportManagement.GetTemplate("Application Programming Interfaces.pdf");
See Also

Reference

ReportMgmtBase Class
ReportMgmtBase Members