GrapeCity.ActiveReports.Export.Image.v9 Assembly > GrapeCity.ActiveReports.Export.Image.Tiff.Section Namespace > TiffExport Class : Dither Property |
'Declaration Public Property Dither As System.Boolean
public System.bool Dither {get; set;}
private void btnExport_Click(Object sender, System.EventArgs e) { rptGrapeCity rpt = new rptGrapeCity(); GrapeCity.ActiveReports.Export.Image.Tiff.Section.TiffExport t = new GrapeCity.ActiveReports.Export.Image.Tiff.Section.TiffExport(); rpt.Run(); this.arv.Document = rpt.Document; t.CompressionScheme = GrapeCity.ActiveReports.Export.Image.Tiff.Section.CompressionScheme.Ccitt3; t.Dither = True; t.Export(rpt.Document, Application.StartupPath + "\\t.tiff","1-2"); }
Private Sub btnExport_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnExport.Click Dim rpt As New SectionReport Dim t As New GrapeCity.ActiveReports.Export.Image.Tiff.Section.TiffExport rpt.Run() Me.Viewer1.Document = rpt.Document t.CompressionScheme = GrapeCity.ActiveReports.Export.Image.Tiff.Section.CompressionScheme.Ccitt3 t.Dither = True t.Export(rpt.Document, Application.StartupPath & "\t.tiff") End Sub
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