Skip to content

Instantly share code, notes, and snippets.

@cromica
Created May 28, 2015 12:31
Show Gist options
  • Save cromica/233216998995c82eaaef to your computer and use it in GitHub Desktop.
Save cromica/233216998995c82eaaef to your computer and use it in GitHub Desktop.
sample code showing how to update a segment pair properties using integration API
var segmentPair = _editorController.ActiveDocument.ActiveSegmentPair;
segmentPair.Properties.IsLocked = !segmentPair.Properties.IsLocked;
_editorController.ActiveDocument.UpdateSegmentPairProperties(segmentPair.Properties);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment