Search Results for

    Show / Hide Table of Contents

    Class TargetSelection

    Implements the target document selection

    Inheritance
    System.Object
    AbstractContentSelection
    TargetSelection
    Inherited Members
    AbstractContentSelection.ToString()
    AbstractContentSelection.Collapse(Boolean)
    AbstractContentSelection.IsEmpty
    AbstractContentSelection.IsValid
    AbstractContentSelection.IsReversed
    AbstractContentSelection.From
    AbstractContentSelection.UpTo
    AbstractContentSelection.Changed
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Sdl.TranslationStudioAutomation.IntegrationApi
    Assembly: Sdl.TranslationStudioAutomation.IntegrationApi.dll
    Syntax
    public class TargetSelection : AbstractContentSelection

    Methods

    Replace(IAbstractMarkupData, String)

    Replace the current selection with the markup data

    Declaration
    public void Replace(IAbstractMarkupData markupData, string operationName)
    Parameters
    Type Name Description
    IAbstractMarkupData markupData

    The markup data replacing the selection.

    System.String operationName

    The name of the operation related with the replace that will be used for undo operations.

    Replace(String, String)

    Replace the current selection with the specified text.

    Declaration
    public void Replace(string text, string operationName)
    Parameters
    Type Name Description
    System.String text

    The text replacing the selection.

    System.String operationName

    The name of the operation related with the replace that will be used for undo operations.

    Extension Methods

    WindowsControlUtils.ForWindowFromFrameworkElement(Object, Action<Window>)

    On this page

    • Methods
      • Replace(IAbstractMarkupData, String)
      • Replace(String, String)
    • Extension Methods
    Back to top Generated by DocFX