FZ_FormBase.GetUnitTitle
Gets the title of a processing unit
Public Function GetUnitTitle( _
ByVal unitNo As Integer _
) As String
Public Function GetUnitTitle( _
ByVal sceneNo As Integer, _
ByVal unitNo As Integer _
) As String
Parameters
unitNo
|
Unit number of title name to be gotten
|
Input
|
sceneNo
|
The number of scene in which is unit title name to be gotten
|
Input
|
Return Value
Returns a title name.
Returns the processing item name if the title name is not set.
Returns nothing if getting the title name failed.
Description
Gets the title name of the specified unit number.
Example
Private Sub Form_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.Load
Dim title As String
' Gets title name of the unit No. 0
title = GetUnitTitle(0)
' Gets title name of the unit No. 0 and scene No. 0
title = GetUnitTitle(0, 0)
End Sub