PDFViewerMessagesDialogsExportAsDialogSettingsBuilder

Methods

Title(System.String)

Parameters

value - System.String

The value that configures the title.

Example

Razor
 
            @(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

Razor
 
            @(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

Razor
 
            @(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

Razor
 
            @(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

Razor
 
            @(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

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