public void Initianlize(bool in_bHDResolution) { if (_bsEditApplication == null) { _bsEditApplication = new CBSEditApplication(); //string strSignleCaputre=ConfigurationManager.AppSettings["IsSignleCaputre"].ToString(); string strSignleCaputre = "1"; int uiSignleCaputre; int.TryParse(strSignleCaputre, out uiSignleCaputre); _bsEditApplication.SetClientServerInSameMachineFlag(uiSignleCaputre); _bsEditApplication.Initialize(ENxBSEditApplicationType.keNxBSEditApplicationType_BSEdit); _bsEditApplication.StartWork(); } //StringBuilder resolutionType = new StringBuilder(512); //StringBuilder resolutionDecription = new StringBuilder(512); //if (in_bHDResolution == false) //{ // _bsEditApplication.GetEditResolutionByIndex(0, 512, resolutionType, 512, resolutionDecription); //} //else //{ // _bsEditApplication.GetEditResolutionByIndex(1, 512, resolutionType, 512, resolutionDecription); //} //BSEditProject.NewProject2(ProjectPath, resolutionType.ToString(), 1, 8); }
public void Initianlize(CBSEditApplication in_oBSEditApplication) { m_oBSEditApplication = in_oBSEditApplication; }