public bool ReversePathPositions() { if (IsPathPositionListReversed) { return(false); } IsPathPositionListReversed = true; PathPositions.Reverse(); return(true); }
private void EnableOverlayBitmapAtPath(PathPositions pos) { bool wasLive = icImagingControl1.LiveVideoRunning; if (wasLive) { icImagingControl1.LiveStop(); } PathPositions oldPos = icImagingControl1.OverlayBitmapPosition; icImagingControl1.OverlayBitmapPosition = oldPos | pos; if (wasLive) { icImagingControl1.LiveStart(); } }