Exemple #1
0
        public bool ReversePathPositions()
        {
            if (IsPathPositionListReversed)
            {
                return(false);
            }

            IsPathPositionListReversed = true;
            PathPositions.Reverse();

            return(true);
        }
Exemple #2
0
        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();
            }
        }