Specifies whether the image should be dithered when saving to a black and white output format such as Ccitt4, Ccitt3 or Rle. If the 
CompressionScheme is set to Lzw or None (indicating color output) this property has no effect.
            
            
            
 Syntax
Syntax
| Visual Basic (Declaration) |  | 
|---|
| Public Property Dither As System.Boolean | 
| C# |  | 
|---|
| public System.bool Dither {get; set;} | 
Property Value
Boolean.  The default value is False.
 Example
Example
| C# |  Copy Code | 
|---|
| 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");
} | 
| Visual Basic |  Copy Code | 
|---|
| 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 | 
 See Also
See Also