Class ImageExport
Represents the image export filter.
Inheritance
Inherited Members
Namespace: FastReport.BG.Export.Image
Assembly: FastReport.BG.dll
Syntax
public class ImageExport : ExportBase, IComponent, IDisposable
Constructors
ImageExport()
Initializes a new instance of the ImageExport class.
Declaration
public ImageExport()
Properties
ImageFormat
Gets or sets the image format.
Declaration
public ImageExportFormat ImageFormat { get; set; }
Property Value
Type | Description |
---|---|
ImageExportFormat |
JpegQuality
Gets or sets the jpg image quality.
Declaration
public int JpegQuality { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Remarks
This property is used if ImageFormat is set to Jpeg. By default it is set to 100. Use lesser value to decrease the jpg file size.
MonochromeTiff
Gets or sets a value that determines whether the Tiff export must produce monochrome image.
Declaration
public bool MonochromeTiff { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Remarks
Monochrome tiff image is compressed using the compression method specified in the MonochromeTiffCompression property.
MonochromeTiffCompression
Gets or sets the compression method for a monochrome TIFF image.
Declaration
public EncoderValue MonochromeTiffCompression { get; set; }
Property Value
Type | Description |
---|---|
System.Drawing.Imaging.EncoderValue |
Remarks
This property is used only when exporting to TIFF image, and the MonochromeTiff property is set to true.
The valid values for this property are: EncoderValue.CompressionNone, EncoderValue.CompressionLZW, EncoderValue.CompressionRle, EncoderValue.CompressionCCITT3, EncoderValue.CompressionCCITT4. The default compression method is CCITT4.
MultiFrameTiff
Gets or sets the value determines whether to produce multi-frame tiff file.
Declaration
public bool MultiFrameTiff { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Resolution
Gets or sets image resolution, in dpi.
Declaration
public int Resolution { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Remarks
By default this property is set to 96 dpi. Use bigger values (300-600 dpi) if you going to print the exported images.
ResolutionX
Gets or sets horizontal image resolution, in dpi.
Declaration
public int ResolutionX { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Remarks
Separate horizontal and vertical resolution is used when exporting to TIFF. In other cases, use the Resolution property instead.
ResolutionY
Gets or sets vertical image resolution, in dpi.
Declaration
public int ResolutionY { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Remarks
Separate horizontal and vertical resolution is used when exporting to TIFF. In other cases, use the Resolution property instead.
Methods
ExportChart()
Exports Chart.
Declaration
protected override void ExportChart()
Overrides
Finish()
Declaration
protected override void Finish()
Overrides
GetFileFilter()
Declaration
protected override string GetFileFilter()
Returns
Type | Description |
---|---|
System.String |
Overrides
ShowDialog()
Declaration
public override bool ShowDialog()
Returns
Type | Description |
---|---|
System.Boolean |
Overrides
Start()
Declaration
protected override void Start()