ActiveReports 6 Online Help
Dither Property
Example 

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
'Declaration
 
Public Property Dither As Boolean
public bool Dither {get; set;}

Property Value

Boolean.  The default value is False.
Example
private void btnExport_Click(Object sender, System.EventArgs e)
{
    rptDataDynamics rpt = new rptDataDynamics();
    DataDynamics.ActiveReports.Export.Tiff.TiffExport t = new DataDynamics.ActiveReports.Export.Tiff.TiffExport();
    rpt.Run();
    this.arv.Document = rpt.Document;
    t.CompressionScheme = DataDynamics.ActiveReports.Export.Tiff.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 rptDD
    Dim t As New DataDynamics.ActiveReports.Export.Tiff.TiffExport
    rpt.Run()
    Me.Viewer1.Document = rpt.Document
    t.CompressionScheme = DataDynamics.ActiveReports.Export.Tiff.CompressionScheme.Ccitt3
    t.Dither = True
    t.Export(rpt.Document, Application.StartupPath & "\t.tiff")
End Sub
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

TiffExport Class
TiffExport Members

Send Feedback