Class TranslationResultsController
Inheritance
Object
TranslationResultsController
Implements
Inherited Members
Object.ToString()
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Namespace: Sdl.TranslationStudioAutomation.IntegrationApi.Editor.TranslationResults
Assembly: Sdl.TranslationStudioAutomation.IntegrationApi.dll
Syntax
public class TranslationResultsController : ITranslationResultsController
Properties
HasTranslationResults
Declaration
public bool HasTranslationResults { get; }
Property Value
Type | Description |
---|---|
Boolean |
Methods
HasSearchResult(Int32)
Returns true if there is a search result for the given row number
Declaration
public bool HasSearchResult(int rowNumber)
Parameters
Type | Name | Description |
---|---|---|
Int32 | rowNumber |
Returns
Type | Description |
---|---|
Boolean |
SelectSearchResult(Int32, Boolean)
Selects the result at the given row number
Declaration
public void SelectSearchResult(int rowNumber, bool applyToActiveSegment)
Parameters
Type | Name | Description |
---|---|---|
Int32 | rowNumber | |
Boolean | applyToActiveSegment | if this is true, the result is applied on the active segment |
ShowTranslationResultsWindow()
Brings Translation Results window into View
Declaration
public void ShowTranslationResultsWindow()
TryGetCurrentTranslationResults()
Returns the current translation results
Declaration
public TranslationResults TryGetCurrentTranslationResults()
Returns
Type | Description |
---|---|
TranslationResults |
Events
TranslationFinished
Declaration
public event EventHandler TranslationFinished
Event Type
Type | Description |
---|---|
EventHandler |