RC-WinTrans Object Model Help | 
  TransUnit.SetState
 | 
Sets the translation state of the translation unit.
Syntax:  | 
	 SetState( enumState As XLIFFTransUnitStates, ExtendedName As String ) As Boolean  | 
  
| Return: | Boolean | 
| Parameters: | 
enumState A member of the enumeration of XLIFF states. ExtendedName If the state is not an XLIFF state the "enumState" parameter must be "state_x_extended" and the "ExtendedName" parameter is the state. Otherwise the "ExtendedName" parameter is an empty string. 
  | 
  
| Example: | Dim TU As TransUnit Dim RetVal As Boolean Set TU = Application.ActiveTransUnit RetVal = TU.SetState(state_x_extended, "x_dubious") [...] RetVal = TU.SetState(state_final, "")  | 
  
See also: