VisualFunction Constructor
In This Topic
Initializes a new instance of the
VisualFunction class.
Syntax
'Declaration
Public Function New( _
ByVal As String, _
ByVal As Integer, _
ByVal As Integer, _
ByVal As FunctionAttributes, _
ByVal As IFunctionVisualizer, _
Optional ByVal 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