Beispiel #1
0
        public void AbrirMxdLayout(ArquivoMxd tipo, Rectangle pageSize)
        {
            if (!File.Exists(_PathServico + "\\ArcGIS\\" + tipo.ToString() + ".mxd"))
            {
                throw new Exception("Arquivo " + tipo.ToString() + ".mxd não foi encontrado na pasta ArcGIS.");
            }

            _mxd = new MxdService(_PathServico + "\\ArcGIS\\" + tipo.ToString() + ".mxd");

            _mxd.Open();

            _pageSize = pageSize;
            _tipo     = tipo;
        }