ActiveReports 8
Export(SectionDocument,String) Method
See Also  Example
GrapeCity.ActiveReports.Export.Image.v8 Assembly > GrapeCity.ActiveReports.Export.Image.Tiff.Section Namespace > TiffExport Class > Export Method : Export(SectionDocument,String) Method

document
The ActiveReports object to export.
filePath
The file name and path to which to save the TIFF.

Glossary Item Box

Exports the specified document to a TIFF file.

Syntax

Visual Basic (Declaration) 
Public Overloads Sub Export( _
   ByVal document As SectionDocument, _
   ByVal filePath As System.String _
) 
C# 
public void Export( 
   SectionDocument document,
   System.string filePath
)

Parameters

document
The ActiveReports object to export.
filePath
The file name and path to which to save the TIFF.

Example

Visual BasicCopy Code
Dim rpt As New SectionReport1()
rpt.Run()
Me.tiffExport1.CompressionScheme = GrapeCity.ActiveReports.Export.Image.Tiff.Section.CompressionScheme.None
'SettingAtheACompressionSchemeAtoANoneAallowsAcolorsAtoAbeAexported
Me.tiffExport1.Export(rpt.Document,Application.StartupPath & "\t.tiff")
C#Copy Code
SectionReport1 rpt = new SectionReport1();
rpt.Run();
this.tiffExport1.CompressionScheme = GrapeCity.ActiveReports.Export.Image.Tiff.Section.CompressionScheme.None;
//SettingAtheACompressionSchemeAToANoneAallowsAcolorsAToAbeAexported
this.tiffExport1.Export(rpt.Document, Application.StartupPath + "\\t.tiff");

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