| DocumentSelection Class |
Namespace: Sdl.TranslationStudioAutomation.IntegrationApi
The DocumentSelection type exposes the following members.
| Name | Description | |
|---|---|---|
| Current |
Get the current source or target selection
| |
| Source |
Get the source document selection
| |
| Target |
Get the target document selection
|
| Name | Description | |
|---|---|---|
| CanCopy |
Returns true if the current selection can be copied.
| |
| CanCut |
Returns true if the current selection can be cut from the document.
| |
| CanPaste |
Returns true if the current clipboard content can be pasted into the document, replacing the current selection.
| |
| Copy |
Copies to the current selection to the clipboard.
| |
| Cut |
Cuts the current selection.
| |
| IsLocked |
Get the locking state of the selection.
| |
| Lock |
Locks the current selection (disable the selection for edit).
| |
| Paste |
Pastes the current clipboard content, replacing the current selection.
| |
| Unlock |
Unlocks the current selection (enable the selection for edit).
|