27.3.2.6.1 InitTagGroupClosed

 

Initialize a closed tag group with specific tag list.

 

Syntax

viewdll.dll

int VD_API VdBroadWinInitTagGroupClosed(char *taglist, int size, int no);

Bwdllobj

Public Function InitTagGroupClosed(tagList as Array) As Integer

C#

Integer InitTagGroupClosed(Array tagList);

 

Parameters

tagList

[in] the tag list that assigned into the closed tag group.

 

Return Value

Type: Integer

The group ID for the closed tag group.

 

Remarks

The User need to manage the tag ID manually. User can operate several groups at the same time by specify different active tag group ID. Remember free the unused group to release the occupied resources.

 

C# Sample Code

private void btnInitTagGroupClosed_Click(object sender, EventArgs e)

{

    string[] tmpArray = new string[lbTagName.Items.Count];

    lbTagName.Items.CopyTo(tmpArray, 0);

    int result = ViewDllWrap.InitTagGroupClosed(tmpArray);

    tbInitTagGroupClosed.Text

        = tbSetActiveTagGroupClosed.Text

        = result.ToString();

}