| | |
| | | string qptFile = Path.Combine(SourcesPath, args.qpt); |
| | | if (File.Exists(qptFile)) |
| | | { |
| | | //File.Delete(qptFile); |
| | | File.Delete(qptFile); |
| | | } |
| | | |
| | | string imgPath = Path.Combine(DownloadFolder, args.imgPath); |
| | |
| | | xml = xml |
| | | .Replace("{dpi}", args.dpi.ToString()) |
| | | .Replace("{title}", args.title) |
| | | .Replace("{sourcesPath}", SourcesPath) |
| | | .Replace("{rotation}", args.rotation.ToString()) |
| | | .Replace("{xmin}", args.xmin.ToString()) |
| | | .Replace("{ymin}", args.ymin.ToString()) |
| | |
| | | .Replace("{resolution}", args.resolution) |
| | | .Replace("{date}", args.date) |
| | | .Replace("{layers}", args.layers) |
| | | .Replace("{sourcesPath}", SourcesPath) |
| | | .Replace("{imgPath}", imgPath); |
| | | |
| | | File.WriteAllText(qptFile, xml); |