New to Telerik UI for WinForms? Start a free 30-day trial

Provides the PDF cell model, coordinates, and worksheet bounds for a cell-formatting callback.

Definition

Namespace:Telerik.WinControls.Export

Assembly:Telerik.WinControls.PivotGrid.dll

Syntax:

C#
public class PivotGridPdfExportCellFormattingEventArgs : EventArgs

Inheritance: objectEventArgsPivotGridPdfExportCellFormattingEventArgs

Inherited Members EventArgs.Empty

Constructors

Initializes event data for one exported cell.

C#
public PivotGridPdfExportCellFormattingEventArgs(int columnIndex, int rowIndex, PivotGridPdfExportCellElement exportCell, int columnsCount, int rowsCount)
Parameters:columnIndexint

The zero-based column index of the cell.

rowIndexint

The zero-based row index of the cell.

exportCellPivotGridPdfExportCellElement

The PDF cell model being formatted.

columnsCountint

The column-bound value supplied for the worksheet.

rowsCountint

The row-bound value supplied for the worksheet.

Properties

Gets or sets the cell model presented to the handler. Modify this instance to affect the current export; assigning a different instance does not replace the cell drawn by the exporter.

C#
public PivotGridPdfExportCellElement Cell { get; set; }

Gets the zero-based column index of the cell being formatted.

C#
public int ColumnIndex { get; }

Gets the worksheet column-bound value supplied to this event. The current exporter passes the last zero-based column index, not the total column count.

C#
public int ColumnsCount { get; }

Gets the zero-based row index of the cell being formatted.

C#
public int RowIndex { get; }

Gets the worksheet row-bound value supplied to this event. The current exporter passes the last zero-based row index, not the total row count.

C#
public int RowsCount { get; }