PDFViewerMessagesErrorMessagesSettingsBuilder

Methods

NotSupported(System.String)

Specifies the error message displayed when a user attempts to open a file that is not a PDF format. This validation occurs during file selection or upload.

Parameters

value - System.String

The value for NotSupported

RETURNS

Returns the current PDFViewerMessagesErrorMessagesSettingsBuilder instance.

ParseError(System.String)

Specifies the error message displayed when the PDF processing library fails to parse or render the PDF file due to corruption, unsupported features, or internal errors.

Parameters

value - System.String

The value for ParseError

RETURNS

Returns the current PDFViewerMessagesErrorMessagesSettingsBuilder instance.

NotFound(System.String)

Specifies the error message displayed when the specified PDF file URL returns a 404 error or the file cannot be located at the provided path.

Parameters

value - System.String

The value for NotFound

RETURNS

Returns the current PDFViewerMessagesErrorMessagesSettingsBuilder instance.

PopupBlocked(System.String)

Specifies the error message displayed when browser popup blockers prevent the PDF viewer from opening new windows for print or download operations.

Parameters

value - System.String

The value for PopupBlocked

RETURNS

Returns the current PDFViewerMessagesErrorMessagesSettingsBuilder instance.