コード例 #1
0
        public static void ReadFile(LayeredVectorImage img, string filename, double scaleDiv, bool flipYAxis, bool incermentalLoad)
        {
            WktReader reader = new WktReader(img, filename, scaleDiv, flipYAxis, incermentalLoad);
            string    text   = System.IO.File.ReadAllText(filename);

            reader.Read(text);
        }
コード例 #2
0
        public static void ReadText(LayeredVectorImage img, string text, double scaleDiv, bool flipYAxis, bool incermentalLoad)
        {
            WktReader reader = new WktReader(img, "Memory", scaleDiv, flipYAxis, incermentalLoad);

            reader.Read(text);
        }