RC-WinTrans Object Model Help |
ProjectFile.IsGroup |
Returns whether the node is a group.
Syntax: |
IsGroup( NodeNumber As Long ) As Boolean |
Return: | Boolean |
Parameters: |
NodeNumber Node number to be checked.
|
Example: | Dim ProjFile As ProjectFile Dim TU As TransUnit Dim Group As Group Set ProjFile = Application.ActiveProjectFile Set TU = Application.ActiveTransUnit If (ProjFile.IsGroup(TU.parentNode)) Then Set Group = ProjFile.GetGroup(TU.ParentNode) End If |
See also: