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 ReportPdf
Dim output As Stream
Dim value As Report
 
value = instance.Duplicate(output)  | 
 
            Parameters
- output
 
- The stream to write the report to. If null will create a MemoryStream.
 
            
            Return Value
A new instance of this object.
 
            
Exceptions
| Exception | Description | 
| net.windward.util.LicenseException | thrown if called too often for the license type. | 
| net.windward.xmlreport.AlreadyProcessedException | thrown if call process multiple times on an object. | 
 
						
            
            
            
            
            
            
            Requirements
Platforms: Windows 10, Windows NT, Windows Server
            
            
See Also