Click or drag to resize
DocumentSelection Class
Implements the document selection
Inheritance Hierarchy
SystemObject
  Sdl.TranslationStudioAutomation.IntegrationApiDocumentSelection

Namespace: Sdl.TranslationStudioAutomation.IntegrationApi
Assembly: Sdl.TranslationStudioAutomation.IntegrationApi (in Sdl.TranslationStudioAutomation.IntegrationApi.dll) Version: 4.2.0.0 (4.1.5799.0)
Syntax
public class DocumentSelection

The DocumentSelection type exposes the following members.

Properties
  NameDescription
Public propertyCurrent
Get the current source or target selection
Public propertySource
Get the source document selection
Public propertyTarget
Get the target document selection
Top
Methods
  NameDescription
Public methodCanCopy
Returns true if the current selection can be copied.
Public methodCanCut
Returns true if the current selection can be cut from the document.
Public methodCanPaste
Returns true if the current clipboard content can be pasted into the document, replacing the current selection.
Public methodCopy
Copies to the current selection to the clipboard.
Public methodCut
Cuts the current selection.
Public methodIsLocked
Get the locking state of the selection.
Public methodLock
Locks the current selection (disable the selection for edit).
Public methodPaste
Pastes the current clipboard content, replacing the current selection.
Public methodUnlock
Unlocks the current selection (enable the selection for edit).
Top
Events
  NameDescription
Public eventChanged
Triggered when the selection has changed
Top
See Also
Community
Edit

Be the first to Edit the community content of this topic.
Comments