ASP.NET Core

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class CsvOptions - ASP.NETCore API Reference | Syncfusion

    Show / Hide Table of Contents

    Class CsvOptions

    Contains device information setting properties to define the csv file output.

    Inheritance
    System.Object
    CsvOptions
    Implements
    IReportDispose
    System.IDisposable
    Inherited Members
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    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()

    Implements

    IReportDispose
    System.IDisposable
    Back to top Generated by DocFX
    Copyright © 2001 - 2021 Syncfusion Inc. All Rights Reserved