Click or drag to resize

WebControlsCoreExtensionsRunWebDocumentViewerMiddleware Method (IApplicationBuilder, WebDocumentViewerOptions)

Adds a terminal WebDocumentViewerMiddleware with custom callbacks in the chain of middlewares.

Namespace:  Atalasoft.Imaging.WebControls.Core
Assembly:  Atalasoft.dotImage.WebControls.Core (in Atalasoft.dotImage.WebControls.Core.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax
public static IApplicationBuilder RunWebDocumentViewerMiddleware(
	this IApplicationBuilder builder,
	WebDocumentViewerOptions options
)

Parameters

builder
Type: IApplicationBuilder
Current application builder instance.
options
Type: Atalasoft.Imaging.WebControls.CoreWebDocumentViewerOptions
Web Document Viewer middleware options.

Return Value

Type: IApplicationBuilder
Updated application IApplicationBuilder instance.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IApplicationBuilder. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also