Online Documentation for Advanced Data Export .NET

QExportXLS.OnGetCaptionParams


 

public class GetCaptionParamsEventArgs : EventArgs

{

    // Methods

    public GetCaptionParamsEventArgs(int Sheet, int Col, XlsFormat Format, string Caption);

 

    // Properties

    public string Caption { get; set; }

    public int Col { get; }

    public XlsFormat Format { get; }

    public int Sheet { get; }

 

    // Fields

    private string _caption;

    private int _col;

    private XlsFormat _format;

    private int _sheet;

}

 

public delegate void GetCaptionParamsEvent(object Sender, GetCaptionParamsEventArgs e);

 

public event SqlManager.QExport.Delegates.GetCaptionParamsEvent GetCaptionParams

 

Description

The GetCaptionsParams event takes place when the parameters of the cells with column captions are received. Depending on the column number (GetCaptionParamsEventArgs.Col) and cell format (GetCaptionParamsEventArgs.Format) you can edit the cell value.