Class
GridPdfExport

The component that configures the excel export.

Definition

Namespace:Telerik.Blazor.Components

Assembly:Telerik.Blazor.dll

Syntax:

cs-api-definition
public class GridPdfExport : GridSpreadsheetExport<GridBeforePdfExportEventArgs, GridAfterPdfExportEventArgs>, IComponent, IHandleEvent, IHandleAfterRender

Inheritance: objectComponentBaseGridSpreadsheetExport<GridBeforePdfExportEventArgs, GridAfterPdfExportEventArgs>GridPdfExport

Implements: IComponentIHandleAfterRenderIHandleEvent

Inherited Members GridSpreadsheetExport<GridBeforePdfExportEventArgs, GridAfterPdfExportEventArgs>.OnParametersSetAsync()GridSpreadsheetExport<GridBeforePdfExportEventArgs, GridAfterPdfExportEventArgs>.FileNameGridSpreadsheetExport<GridBeforePdfExportEventArgs, GridAfterPdfExportEventArgs>.AllPagesGridSpreadsheetExport<GridBeforePdfExportEventArgs, GridAfterPdfExportEventArgs>.OnBeforeExportGridSpreadsheetExport<GridBeforePdfExportEventArgs, GridAfterPdfExportEventArgs>.OnAfterExportComponentBase.BuildRenderTree(RenderTreeBuilder)ComponentBase.OnInitialized()ComponentBase.OnInitializedAsync()ComponentBase.OnParametersSet()ComponentBase.OnParametersSetAsync()ComponentBase.StateHasChanged()ComponentBase.ShouldRender()ComponentBase.OnAfterRender(bool)ComponentBase.OnAfterRenderAsync(bool)ComponentBase.InvokeAsync(Action)ComponentBase.InvokeAsync(Func<Task>)ComponentBase.DispatchExceptionAsync(Exception)ComponentBase.SetParametersAsync(ParameterView)

Constructors

GridPdfExport()

Declaration

cs-api-definition
public GridPdfExport()

Properties

PageOrientation

Sets the page orientation for the exported PDF document. Use Portrait for taller pages suitable for documents with many rows, or Landscape for wider pages that can accommodate more columns. Default is Portrait.

Declaration

cs-api-definition
[Parameter]
public GridPdfExportPageOrientation PageOrientation { get; set; }

Property Value

GridPdfExportPageOrientation

PaperSize

Sets the paper size for the exported PDF document. Common sizes include A4 (8.3" x 11.7") for standard documents, A3 (11.7" x 16.5") for larger layouts, Letter (8.5" x 11") for US standard, or Legal (8.5" x 14") for legal documents. Default is A4.

Declaration

cs-api-definition
[Parameter]
public GridPdfExportPaperSize PaperSize { get; set; }

Property Value

GridPdfExportPaperSize