ActiveReports 6 Online Help
Export(Document,Stream,String) Method
Example 

The ActiveReports object to export.
The System.IO.Stream to which to save the PDF.
A range of page numbers. Ranges are indicated by the use of a hyphen between the starting and ending page numbers in the range. Single pages may also be included. Each range or single page is separated by a comma.
Exports a range of pages from the specified document to a PDF stream.
Syntax
'Declaration
 
Public Overloads Sub Export( _
   ByVal document As Document, _
   ByVal stream As Stream, _
   ByVal pageRange As String _
) 
public void Export( 
   Document document,
   Stream stream,
   string pageRange
)

Parameters

document
The ActiveReports object to export.
stream
The System.IO.Stream to which to save the PDF.
pageRange
A range of page numbers. Ranges are indicated by the use of a hyphen between the starting and ending page numbers in the range. Single pages may also be included. Each range or single page is separated by a comma.
Example
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

PdfExport Class
PdfExport Members
Overload List

Send Feedback