Windward Studios API Reference
ProcessTemplate Method
See Also  Send comments on this topic.
net.windward.api.csharp Namespace > Report Class : ProcessTemplate Method




outputExtension
The output format for the generated document. This is the extension like "pdf". Printer is not supported in this call.
template
The template to generate.
rootFolder
The location of the template. This is needed solely for file based datasources and relative paths to imported files. If neither of those are used in this template, this can be null.

Glossary Item Box

Generates a document from the passed in template. All parameters and datasources are read from the template and applied to the generation.

Syntax

Visual Basic (Declaration) 
Public Shared Function ProcessTemplate( _
   ByVal outputExtension As String, _
   ByVal template As Stream, _
   ByVal rootFolder As String _
) As Report
Visual Basic (Usage)Copy Code
Dim outputExtension As String
Dim template As Stream
Dim rootFolder As String
Dim value As Report
 
value = Report.ProcessTemplate(outputExtension, template, rootFolder)
C# 
public static Report ProcessTemplate( 
   string outputExtension,
   Stream template,
   string rootFolder
)
Managed Extensions for C++ 
public: static Report* ProcessTemplate( 
   string* outputExtension,
   Stream* template,
   string* rootFolder
) 
C++/CLI 
public:
static Report^ ProcessTemplate( 
   String^ outputExtension,
   Stream^ template,
   String^ rootFolder
) 

Parameters

outputExtension
The output format for the generated document. This is the extension like "pdf". Printer is not supported in this call.
template
The template to generate.
rootFolder
The location of the template. This is needed solely for file based datasources and relative paths to imported files. If neither of those are used in this template, this can be null.

Return Value

The generated document.

Requirements

Platforms: Windows 10, Windows NT, Windows Server

See Also

Windward Studios - .NET Document Generation software