Example #1
0
 public DesignFormat(string name, string description, string[] fileExtensions, byte[] fileHeader, IDesignFormat format)
 {
     _name           = name;
     _description    = description;
     _fileExtensions = fileExtensions;
     _fileHeader     = fileHeader;
     _format         = format;
 }
Example #2
0
 public DesignFormat(string name, string description, string[] fileExtensions, byte[] fileHeader, IDesignFormat format)
 {
     _name = name;
     _description = description;
     _fileExtensions = fileExtensions;
     _fileHeader = fileHeader;
     _format = format;
 }
Example #3
0
        private static string createSvg(IDesignFormat f, string designPath)
        {
            throw new NotSupportedException("This override if createSvg is no longer supported.");
//			f.LoadFromFile(designPath);
//			string svgPath = getPathFor(".svg", designPath);
//
//			if (File.Exists(svgPath)) File.Delete(svgPath);
//			f.ToSvg(svgPath);
//
//			return svgPath;
        }
Example #4
0
 private static string createSvg(IDesignFormat f, string designPath)
 {
     throw new NotSupportedException("This override if createSvg is no longer supported.");
     //			f.LoadFromFile(designPath);
     //			string svgPath = getPathFor(".svg", designPath);
     //
     //			if (File.Exists(svgPath)) File.Delete(svgPath);
     //			f.ToSvg(svgPath);
     //
     //			return svgPath;
 }