Spread Windows Forms 15.0
GrapeCity.Spreadsheet Assembly / GrapeCity.CalcEngine Namespace / VisualFunction Class / VisualFunction Constructor
A string value represents the visualizer name.
An integer values indicates the minimum argument count.
An integer values indicates the maximum argument count.
A FunctionAttributes value indicates attributes of the function.
The function visualizer to visualize cell value.
A boolean value indicates whether to append the prefix "VF." before the function. true if the visual function is used in the formula as "VS.[visualizer name]".


In This Topic
    VisualFunction Constructor
    In This Topic
    Initializes a new instance of the VisualFunction class.
    Syntax
    'Declaration
     
    
    Public Function New( _
       ByVal visualizerName As String, _
       ByVal minArgs As Integer, _
       ByVal maxArgs As Integer, _
       ByVal attributes As FunctionAttributes, _
       ByVal visualizer As IFunctionVisualizer, _
       Optional ByVal appendPrefix As Boolean _
    )
    'Usage
     
    
    Dim visualizerName As String
    Dim minArgs As Integer
    Dim maxArgs As Integer
    Dim attributes As FunctionAttributes
    Dim visualizer As IFunctionVisualizer
    Dim appendPrefix As Boolean
     
    Dim instance As New VisualFunction(visualizerName, minArgs, maxArgs, attributes, visualizer, appendPrefix)

    Parameters

    visualizerName
    A string value represents the visualizer name.
    minArgs
    An integer values indicates the minimum argument count.
    maxArgs
    An integer values indicates the maximum argument count.
    attributes
    A FunctionAttributes value indicates attributes of the function.
    visualizer
    The function visualizer to visualize cell value.
    appendPrefix
    A boolean value indicates whether to append the prefix "VF." before the function. true if the visual function is used in the formula as "VS.[visualizer name]".
    See Also