Windward Studios API Reference
Factory Method
See Also  Send comments on this topic.
net.windward.api.csharp Namespace > Report Class : Factory 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.

Glossary Item Box

Create a report object based on the passed in extension. This calls Setup() on the created object.

Syntax

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

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.

Return Value

The requested Report object.

Requirements

Platforms: Windows 10, Windows NT, Windows Server

See Also

Windward Studios - .NET Document Generation software