Пример #1
0
        private void queryBufferButton_Click(object sender, EventArgs e)
        {
            try
            {
                System.IO.FileStream stream = new System.IO.FileStream(filename, System.IO.FileMode.Open, System.IO.FileAccess.Read);

                Byte[] imgData = new byte[stream.Length];
                stream.Read(imgData, 0, imgData.Length);
                stream.Close();
                AppendFileInfo(ImageX.QueryBuffer(imagXpress1, imgData, 1));
            }
            catch (Accusoft.ImagXpressSdk.ImagXpressException ex)
            {
                MessageBox.Show(ex.Message);
            }
        }