Windward Studios API Reference
ProcessSetup(TEMPLATE_TYPE,ICacheHandler) Method
See Also  Send comments on this topic.
net.windward.api.csharp Namespace > Report Class > ProcessSetup Method : ProcessSetup(TEMPLATE_TYPE,ICacheHandler) Method




type
The format of the template file.
cacheHandler

Glossary Item Box

Process the template and get the report ready to process data files. This should only be called once for a given Report object! This method can only be called by objects create with Report(template) or Report(template, report).

Syntax

Visual Basic (Declaration) 
Public Overloads Sub ProcessSetup( _
   ByVal type As Report.TEMPLATE_TYPE, _
   Optional ByVal cacheHandler As net.windward.util.AccessProviders.models.ICacheHandler _
) 
Visual Basic (Usage)Copy Code
Dim instance As Report
Dim type As Report.TEMPLATE_TYPE
Dim cacheHandler As net.windward.util.AccessProviders.models.ICacheHandler
 
instance.ProcessSetup(type, cacheHandler)
C# 
public void ProcessSetup( 
   Report.TEMPLATE_TYPE type,
   net.windward.util.AccessProviders.models.ICacheHandler cacheHandler
)
Managed Extensions for C++ 
public: void ProcessSetup( 
   Report.TEMPLATE_TYPE type,
   net.windward.util.AccessProviders.models.ICacheHandler* cacheHandler
) 
C++/CLI 
public:
void ProcessSetup( 
   Report.TEMPLATE_TYPE type,
   net.windward.util.AccessProviders.models.ICacheHandler^ cacheHandler
) 

Parameters

type
The format of the template file.
cacheHandler

Exceptions

ExceptionDescription
net.windward.util.LicenseExceptionthrown if called too often for the license type.
net.windward.tags.TagExceptionthrown if there is an unmatched if/while - end. Not thrown in debug mode.
net.windward.xmlreport.AlreadyProcessedExceptionthrown if call process multiple times on an object.
net.windward.format.TemplateParseExceptionthrown if there is a problem parsing the template.
net.windward.env.DataSourceExceptionthrown if there is a problem with the datasource.
java.io.IOExceptionthrown if have problems accessing the xml, template, or report streams

Requirements

Platforms: Windows 10, Windows NT, Windows Server

See Also

Windward Studios - .NET Document Generation software