combit List & Label 25 - .NET Online Web Help
RegisterRoutes Method (Html5ViewerConfig)
Example 


combit.ListLabel25.Web Namespace > Html5ViewerConfig Class : RegisterRoutes Method
RouteTable of the application, usually the value of RouteTable.Routes.
routePrefix for the Html5Viewer, Default is: 'cmbtapi'.
routename for the Html5Viewer, Default is: 'ActionApi'.
Registers the URLs that are required for the Html5Viewer.
Syntax
'Declaration
 
Public Shared Sub RegisterRoutes( _
   ByVal routes As RouteCollection, _
   Optional ByVal routePrefix As String, _
   Optional ByVal routeName As String _
) 
public static void RegisterRoutes( 
   RouteCollection routes,
   string routePrefix,
   string routeName
)
public:
static void RegisterRoutes( 
   RouteCollection^ routes,
   String^ routePrefix,
   String^ routeName
) 

Parameters

routes
RouteTable of the application, usually the value of RouteTable.Routes.
routePrefix
routePrefix for the Html5Viewer, Default is: 'cmbtapi'.
routeName
routename for the Html5Viewer, Default is: 'ActionApi'.
Example
Html5ViewerConfig.RegisterRoutes(System.Web.Routing.RouteTable.Routes);
Requirements

Platforms: Windows 7 SP1 - Windows 10 Version 1909, Windows Server 2008 R2 - 2019

See Also

Reference

Html5ViewerConfig Class
Html5ViewerConfig Members