Version

Cancel Property (DocumentCellExportingEventArgs)

Use to cancel the export of the cell.
Syntax
'Declaration
 
Public Property Cancel As Boolean
public bool Cancel {get; set;}
Remarks

If the cell export is cancelled, the text value of the cell will not be added to the grid but the table cell will still be added. This is necessary to make the columns line up.

Use this to override the default export with custom logic by manipulating the ReportCell object yourself. Extra elements like images or extra text can be added to the export or the report cell itself can be manipulated.

This is only necessary when the structure of the cell needs to be changed. To just change the text that's being exported, use the ExportValue property. To change the style of the cell set the style properties of the ReportCell.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also