Search
ZoomControlExtensions.ZoomControl Method (IHtmlHelper, String, String, String, IDictionary(String, Object))
See Also
 





Returns a ZoomControl by using the specified HTML helper.

Namespace: MindFusion.Diagramming.Mvc
Assembly: MindFusion.Diagramming.Mvc

 Syntax

C#  Copy Code

public static IHtmlContent ZoomControl (
    IHtmlHelper helper,
    string id,
    string diagramViewId,
    string initFunction,
    IDictionary<string, Object> htmlAttributes
)

Visual Basic  Copy Code

Public Shared Function ZoomControl( _
    helper As IHtmlHelper, _
    id As String, _
    diagramViewId As String, _
    initFunction As String, _
    htmlAttributes As IDictionary(Of String, Object) _
) As IHtmlContent

 Parameters

helper

The HTML helper

id

The Id of the ZoomControl

diagramViewId

The Id of the DiagramView

initFunction

The name of the function that will contain the initializing scripts for the control.

htmlAttributes

An object containing the HTML attributes for the control.

 Return Value

 See Also