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