Created
June 2, 2015 12:38
-
-
Save cromica/b70a13dd8c08f8882ecb to your computer and use it in GitHub Desktop.
sample code showing how you can change the segment confirmation level or subscribe to the changed event using Integration API
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var editorController = GetEditorController(); | |
var segmentId = editorController.ActiveDocument.ActiveSegmentPair.Properties.Id.Id; | |
editorController.ActiveDocument.SegmentsConfirmationLevelChanged += ActiveDocument_SegmentsConfirmationLevelChanged; | |
editorController.ActiveDocument.ChangeConfirmationLevelOnSegment(segmentId, ConfirmationLevel.Translated); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment