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




output
The stream to write the report to. If null will create a MemoryStream.

Glossary Item Box

Creates and returns a copy of this object. You may call this before or after calling processData(). You may then call processData() on the created object. You must call this after calling processSetup() and before calling processComplete(). While this mostly does a deep copy, it does not do a deep copy of image data.

Syntax

Visual Basic (Declaration) 
Public Overrides Function Duplicate( _
   ByVal output As Stream _
) As Report
Visual Basic (Usage)Copy Code
Dim instance As ReportText
Dim output As Stream
Dim value As Report
 
value = instance.Duplicate(output)
C# 
public override Report Duplicate( 
   Stream output
)
Managed Extensions for C++ 
public: Report* Duplicate( 
   Stream* output
) override 
C++/CLI 
public:
Report^ Duplicate( 
   Stream^ output
) override 

Parameters

output
The stream to write the report to. If null will create a MemoryStream.

Return Value

A new instance of this object.

Exceptions

ExceptionDescription
net.windward.util.LicenseExceptionthrown if called too often for the license type.
net.windward.xmlreport.AlreadyProcessedExceptionthrown if call process multiple times on an object.

Requirements

Platforms: Windows 10, Windows NT, Windows Server

See Also

Windward Studios - .NET Document Generation software