ActiveReports 18 .NET Edition
MESCIUS.ActiveReports.Export.Image Assembly / GrapeCity.ActiveReports.Export.Image.Tiff.Section Namespace / TiffExport Class / Export Method / Export(SectionDocument,String) Method
The ActiveReports object to export.
The file name and path to which to save the TIFF.
Example

In This Topic
    Export(SectionDocument,String) Method
    In This Topic
    Exports the specified document to a TIFF file.
    Syntax
    'Declaration
     
    Public Overloads Sub Export( _
       ByVal document As SectionDocument, _
       ByVal filePath As String _
    ) 
    public void Export( 
       SectionDocument document,
       string filePath
    )

    Parameters

    document
    The ActiveReports object to export.
    filePath
    The file name and path to which to save the TIFF.
    Example
    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")
    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");
    See Also