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); }
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); }