Class CsvOptions
Contains device information setting properties to define the csv file output.
Inheritance
Inherited Members
Namespace: Syncfusion.EJ.ReportWriter
Assembly: Syncfusion.EJ.ReportViewer.dll
Syntax
public class CsvOptions : IReportDispose, IDisposable
Constructors
CsvOptions()
Declaration
public CsvOptions()
Properties
Encoding
Gets or sets the encoding of the output file. The default value is UTF-8
Declaration
public Encoding Encoding { get; set; }
Property Value
Type | Description |
---|---|
System.Text.Encoding |
FieldDelimiter
Gets or sets the field delimiter string to separate field in the output. The default value is a comma (,).
Declaration
public string FieldDelimiter { get; set; }
Property Value
Type | Description |
---|---|
System.String |
FileExtension
Gets or sets the CSV file extension. The default value is .CSV. If both Extension and FileExtension are specified then FileExtension will take precedence.
Declaration
public string FileExtension { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Qualifier
Gets or sets the qualifier string which is put around the output result if contain the field delimiter or record delimiter.The default value is a quotation mark (").
Declaration
public string Qualifier { get; set; }
Property Value
Type | Description |
---|---|
System.String |
RecordDelimiter
Gets or sets the record delimiter which is put at the end of each record. The default value is "\r\n".
Declaration
public string RecordDelimiter { get; set; }
Property Value
Type | Description |
---|---|
System.String |
SuppressLineBreaks
Gets or sets the boolean value which define the line breaks are included to output. The default value is false.
Declaration
public bool SuppressLineBreaks { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
UseFormattedValues
Gets or sets the boolean value which define the report formatted text are included to the output. The default value is true.
Declaration
public bool UseFormattedValues { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Methods
Dispose()
Declaration
public void Dispose()