コード例 #1
0
        //软触发
        public void Strigger(TIS.Imaging.ICImagingControl icImagingControl1)
        {
            Softtrigger = (TIS.Imaging.VCDButtonProperty)icImagingControl1.VCDPropertyItems.FindInterface(TIS.Imaging.VCDIDs.VCDID_TriggerMode + ":" +
                                                                                                          TIS.Imaging.VCDIDs.VCDElement_SoftwareTrigger + ":" + TIS.Imaging.VCDIDs.VCDInterface_Button);

            Softtrigger.Push();//软触发
        }
コード例 #2
0
        public bool SoftTrigger()
        {
            try
            {
                Softtrigger = (TIS.Imaging.VCDButtonProperty)m_ImageControl.VCDPropertyItems.FindInterface(TIS.Imaging.VCDIDs.VCDID_TriggerMode + ":" + TIS.Imaging.VCDIDs.VCDElement_SoftwareTrigger + ":" + TIS.Imaging.VCDIDs.VCDInterface_Button);
                Softtrigger.Push();//软触发


                return(true);
            }
            catch
            {
                return(false);
            }
        }