Class BeforeExportEventArgs
The before export event arguments provides the necessary information to customize before exporting the file.
Inherited Members
Namespace: Syncfusion.Blazor.PivotView
Assembly: Syncfusion.Blazor.dll
Syntax
public class BeforeExportEventArgs
Constructors
BeforeExportEventArgs()
Declaration
public BeforeExportEventArgs()
Properties
AllowRepeatHeader
Defines option to disable the repeat headers.
Declaration
[JsonPropertyName("allowRepeatHeader")]
public bool AllowRepeatHeader { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
|
DataCollections
Defines pivot table cell collections.
Declaration
[JsonPropertyName("dataCollections")]
public Matrix<Matrix<AxisSet>> DataCollections { get; set; }
Property Value
| Type |
|---|
| Matrix<Matrix<AxisSet>> |
ExcelExportProperties
Defines the additional settings for excel export such as multiple export, header, footer, etc.
Declaration
[JsonPropertyName("excelExportProperties")]
public ExcelExportProperties ExcelExportProperties { get; set; }
Property Value
| Type | Description |
|---|---|
| ExcelExportProperties | An instance of ExcelExportProperties class that contains additional settings for exporting the PivotTable to Excel. |
FileName
Defines exported field name.
Declaration
[JsonPropertyName("fileName")]
public string FileName { get; set; }
Property Value
| Type | Description |
|---|---|
| string | Accepts the string name. |
Footer
Defines footer text.
Declaration
[JsonPropertyName("footer")]
public string Footer { get; set; }
Property Value
| Type | Description |
|---|---|
| string | Accepts the string value. |
Header
Defines header text.
Declaration
[JsonPropertyName("header")]
public string Header { get; set; }
Property Value
| Type | Description |
|---|---|
| string | Accepts the string value. |
Height
Defines content height to be export.
Declaration
[JsonPropertyName("height")]
public double? Height { get; set; }
Property Value
| Type | Description |
|---|---|
| double? | Accepts the double value. |
IsBlob
A file-like object of immutable, raw data. Blobs represent data that isn't necessarily in a JavaScript-native format. The File interface is based on Blob, inheriting blob functionality and expanding it to support files on the user's system.
Declaration
[JsonPropertyName("isBlob")]
public bool IsBlob { get; set; }
Property Value
| Type |
|---|
| bool |
IsMultipleExport
Defines an option to export multiple pivot table to the same PDF file.
Declaration
[JsonPropertyName("isMultipleExport")]
public bool IsMultipleExport { get; set; }
Property Value
| Type |
|---|
| bool |
Orientation
Defines the page orientation of PDF export.
Declaration
[JsonPropertyName("orientation")]
public PdfPageOrientation? Orientation { get; set; }
Property Value
| Type |
|---|
| PdfPageOrientation? |
PdfDoc
Defines current PDF file that holds the pivot table information which will be used to export.
Declaration
[JsonPropertyName("pdfDoc")]
public object PdfDoc { get; set; }
Property Value
| Type |
|---|
| object |
PdfExportProperties
Defines the additional settings for PDF export such as page size, orientation, header, footer, etc.
Declaration
[JsonPropertyName("pdfExportProperties")]
public PdfExportProperties PdfExportProperties { get; set; }
Property Value
| Type |
|---|
| PdfExportProperties |
Style
Defines the theme style for PDF.
Declaration
[JsonPropertyName("style")]
public PdfTheme Style { get; set; }
Property Value
| Type | Description |
|---|---|
| PdfTheme | A PdfTheme object that represents the theme style to apply when generating the PDF. |
Type
Defines the pivot chart export type.
Declaration
[JsonPropertyName("type")]
public ExportType Type { get; set; }
Property Value
| Type | Description |
|---|---|
| ExportType | An ExportType enumeration value that represents the type of export to use when generating a pivot chart. |
Width
Defines content width to be export.
Declaration
[JsonPropertyName("width")]
public double? Width { get; set; }
Property Value
| Type | Description |
|---|---|
| double? | Accepts the double value. |
Workbook
Defines current excel work book that holds the pivot table information which will be used to export.
Declaration
[JsonPropertyName("workbook")]
public object Workbook { get; set; }
Property Value
| Type |
|---|
| object |