Example #1
0
        /// <summary>
        /// Begin the extraction process for a particular dataset
        /// </summary>
        /// <param name="hDataSet">The dataset to extract</param>
        /// <param name="hBox">The region to extract</param>
        /// <param name="bNative">Download in native coordinate system or that of bounding box</param>
        /// <param name="progressCallBack">Progress handler (may be null)</param>
        /// <returns>The extract response in GeosoftXML</returns>
        public System.Xml.XmlDocument Extract(ExtractDataSet hDataSet, BoundingBox hBox, bool bNative, UpdateProgessCallback progressCallBack)
        {
            ArrayList hList = new ArrayList();

            hList.Add(hDataSet);
            return Extract(hList, hBox, bNative, progressCallBack);
        }
Example #2
0
        /// <summary>
        /// Begin the extraction process for a particular dataset
        /// </summary>
        /// <param name="hDataSet">The dataset to extract</param>
        /// <param name="hBox">The region to extract</param>
        /// <param name="bNative">Download in native coordinate system or that of bounding box</param>
        /// <param name="szKey">The extraction key</param>
        /// <param name="progressCallBack">Progress handler (may be null)</param>
        public void Extract(ExtractDataSet hDataSet, BoundingBox hBox, bool bNative, out string szKey, UpdateProgessCallback progressCallBack)
        {
            System.Xml.XmlDocument hResponseDocument;

            hResponseDocument = Extract(hDataSet, hBox, bNative, progressCallBack);
            m_hParse.ExtractKey(hResponseDocument, out szKey);
        }
Example #3
0
 /// <summary>
 /// Begin the extraction process for a particular dataset
 /// </summary>
 /// <param name="hDataSet">The dataset to extract</param>
 /// <param name="hBox">The region to extract</param>
 /// <param name="bNative">Download in native coordinate system or that of bounding box</param>
 /// <returns>The extract response in GeosoftXML</returns>
 public System.Xml.XmlDocument Extract(ExtractDataSet hDataSet, BoundingBox hBox, bool bNative)
 {
     return Extract(hDataSet, hBox, bNative, null);
 }
Example #4
0
 /// <summary>
 /// Begin the extraction process for a particular dataset
 /// </summary>
 /// <param name="hDataSet">The dataset to extract</param>
 /// <param name="hBox">The region to extract</param>
 /// <param name="bNative">Download in native coordinate system or that of bounding box</param>
 /// <param name="szKey">The extraction key</param>
 public void Extract(ExtractDataSet hDataSet, BoundingBox hBox, bool bNative, out string szKey)
 {
     Extract(hDataSet, hBox, bNative, out szKey, null);
 }