Windward Engine API Reference
JoinPdf Method
See Also  Send comments on this topic.
WindwardReportsAPI.net.windward.api.csharp Namespace > JoinReports Class : JoinPdf Method




reports
The reports to combine. These reports must have had processComplete() called on them. All must be of the type ProcessPdf. All must not set the output stream (Windward then creates a MemoryStream).
pdfReport
The stream to write the compined reports to. This will be a PDF file.

Glossary Item Box

Join multiple reports into a single generated PDF.

Syntax

Visual Basic (Declaration) 
Public Shared Function JoinPdf( _
   ByVal reports As IEnumerable(Of Report), _
   ByVal pdfReport As Stream _
) As Integer
Visual Basic (Usage)Copy Code
Dim reports As IEnumerable(Of Report)
Dim pdfReport As Stream
Dim value As Integer
 
value = JoinReports.JoinPdf(reports, pdfReport)
C# 
public static int JoinPdf( 
   IEnumerable<Report> reports,
   Stream pdfReport
)
Managed Extensions for C++ 
public: static int JoinPdf( 
   IEnumerable<Report*>* reports,
   Stream* pdfReport
) 
C++/CLI 
public:
static int JoinPdf( 
   IEnumerable<Report^>^ reports,
   Stream^ pdfReport
) 

Parameters

reports
The reports to combine. These reports must have had processComplete() called on them. All must be of the type ProcessPdf. All must not set the output stream (Windward then creates a MemoryStream).
pdfReport
The stream to write the compined reports to. This will be a PDF file.

Return Value

The number of pages in the final document.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP, Windows Vista, Windows Server 2003 family

See Also

© 2019 All Rights Reserved.