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

Defines the fluent API for configuring the PDFViewerMessagesDialogsExportAsDialogLabelsSettings settings.

Definition

Namespace:Kendo.Mvc.UI.Fluent

Assembly:Kendo.Mvc.dll

Syntax:

C#
public class PDFViewerMessagesDialogsExportAsDialogLabelsSettingsBuilder

Inheritance: objectPDFViewerMessagesDialogsExportAsDialogLabelsSettingsBuilder

Inherited Members object.GetType()object.MemberwiseClone()object.ToString()object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()...

Constructors

Methods

Specifies the label text for the filename input field in the export dialog where users enter the desired output filename.

C#
public PDFViewerMessagesDialogsExportAsDialogLabelsSettingsBuilder FileName(string value)
Parameters:valuestring

The value that configures the filename.

Returns:

PDFViewerMessagesDialogsExportAsDialogLabelsSettingsBuilder

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

Specifies the label text for the page selection control in the export dialog where users specify which page to export when using single-page export formats.

C#
public PDFViewerMessagesDialogsExportAsDialogLabelsSettingsBuilder Page(string value)
Parameters:valuestring

The value that configures the page.

Returns:

PDFViewerMessagesDialogsExportAsDialogLabelsSettingsBuilder

Example:
C#
@(Html.Kendo().PDFViewer()
.Name("pdfviewer")
.Messages(messages => messages
.Dialogs(dialogs => dialogs
.ExportAsDialog(expDialog => expDialog.Labels(labels => labels.Page("Page")))
)
)
)

Specifies the label text for the file format selection dropdown in the export dialog where users choose the export format (PDF, PNG, or SVG).

C#
public PDFViewerMessagesDialogsExportAsDialogLabelsSettingsBuilder SaveAsType(string value)
Parameters:valuestring

The value that configures the saveastype.

Returns:

PDFViewerMessagesDialogsExportAsDialogLabelsSettingsBuilder

Example:
C#
@(Html.Kendo().PDFViewer()
.Name("pdfviewer")
.Messages(messages => messages
.Dialogs(dialogs => dialogs
.ExportAsDialog(expDialog => expDialog.Labels(labels => labels.SaveAsType("Save file as")))
)
)
)