Back to Devexpress

RichEditBuilder.Pdf(Action<PdfSettingsBuilder>) Method

aspnetcore-devexpress-dot-aspnetcore-dot-richedit-dot-richeditbuilder-dot-pdf-x28-system-dot-action-devexpress-dot-aspnetcore-dot-richedit-dot-pdfsettingsbuilder-x29.md

latest1.4 KB
Original Source

RichEditBuilder.Pdf(Action<PdfSettingsBuilder>) Method

Specifies PDF export settings.

Namespace : DevExpress.AspNetCore.RichEdit

Assembly : DevExpress.AspNetCore.RichEdit.v25.2.dll

NuGet Package : DevExpress.AspNetCore.RichEdit

Declaration

csharp
public RichEditBuilder Pdf(
    Action<PdfSettingsBuilder> configure
)

Parameters

NameTypeDescription
configureAction<PdfSettingsBuilder>

A delegate method that specifies PDF export settings.

|

Returns

TypeDescription
RichEditBuilder

An object that can be used to further configure the Rich Text Editor.

|

Remarks

cshtml
@(Html.DevExpress().RichEdit("richEdit")
   .Pdf(p => {
       p.ExportUrl(Url.Action("Export"));
   })
   .Fonts(f =>
   //...
)

See Also

RichEditBuilder Class

RichEditBuilder Members

DevExpress.AspNetCore.RichEdit Namespace