New to Telerik UI for ASP.NET MVC? Download free 30-day trial

PDFViewerMessagesDialogsExportAsDialogSettingsBuilder

Methods

Title(System.String)

Parameters

value - System.String

The value that configures the title.

Example


            @(Html.Kendo().PDFViewer()
               .Name("pdfviewer")
                .Messages(messages => messages
                    .Dialogs(dialogs => dialogs
                        .ExportAsDialog(expDialog => expDialog.Title("Export...")) 
                    )
                )
             )

DefaultFileName(System.String)

Parameters

value - System.String

The value that configures the defaultfilename.

Example


            @(Html.Kendo().PDFViewer()
               .Name("pdfviewer")
                .Messages(messages => messages
                    .Dialogs(dialogs => dialogs
                        .ExportAsDialog(expDialog => expDialog.DefaultFileName("PDFDocument")) 
                    )
                )
             )

Pdf(System.String)

Parameters

value - System.String

The value that configures the pdf.

Example


            @(Html.Kendo().PDFViewer()
               .Name("pdfviewer")
                .Messages(messages => messages
                    .Dialogs(dialogs => dialogs
                        .ExportAsDialog(expDialog => expDialog.Pdf(".pdf")) 
                    )
                )
             )

Png(System.String)

Parameters

value - System.String

The value that configures the png.

Example


            @(Html.Kendo().PDFViewer()
               .Name("pdfviewer")
                .Messages(messages => messages
                    .Dialogs(dialogs => dialogs
                        .ExportAsDialog(expDialog => expDialog.Png(".png")) 
                    )
                )
             )

Svg(System.String)

Parameters

value - System.String

The value that configures the svg.

Example


            @(Html.Kendo().PDFViewer()
               .Name("pdfviewer")
                .Messages(messages => messages
                    .Dialogs(dialogs => dialogs
                        .ExportAsDialog(expDialog => expDialog.Svg(".svg")) 
                    )
                )
             )

Labels(System.Action)

Parameters

configurator - System.Action<PDFViewerMessagesDialogsExportAsDialogLabelsSettingsBuilder>

The action that configures the labels.

Example


            @(Html.Kendo().PDFViewer()
               .Name("pdfviewer")
                .Messages(messages => messages
                    .Dialogs(dialogs => dialogs
                        .ExportAsDialog(expDialog => expDialog.Labels(labels => labels.FileName("Filename"))) 
                    )
                )
             )

In this article
Not finding the help you need?