예제 #1
0
        /// <summary>
        /// Exports a table into an Ascii file.
        /// </summary>
        /// <param name="filename">The filename used to export the file.</param>
        /// <param name="table">The table to export.</param>
        /// <param name="separator">The separator char used to export the table. Normally, you should use a tabulator here.</param>
        public static void ExportAscii(string filename, Altaxo.Data.DataTable table, char separator)
        {
            var options = new AsciiExportOptions();

            options.SetSeparator(separator);
            ExportAscii(filename, table, options);
        }
예제 #2
0
        /// <summary>
        /// Exports a table to Ascii using a stream. The stream is <b>not</b> closed at the end of this function.
        /// </summary>
        /// <param name="myStream">The stream the table should be exported to.</param>
        /// <param name="table">The table that is to be exported.</param>
        /// <param name="separator">The separator char that separates the items from each other.</param>
        public static void ExportAscii(System.IO.Stream myStream, Altaxo.Data.DataTable table, char separator)
        {
            var options = new AsciiExportOptions();

            options.SetSeparator(separator);
            ExportAscii(myStream, table, options);
        }
예제 #3
0
		/// <summary>
		/// Exports a table into an Ascii file.
		/// </summary>
		/// <param name="filename">The filename used to export the file.</param>
		/// <param name="table">The table to export.</param>
		/// <param name="separator">The separator char used to export the table. Normally, you should use a tabulator here.</param>
		static public void ExportAscii(string filename, Altaxo.Data.DataTable table, char separator)
		{
			AsciiExportOptions options = new AsciiExportOptions();
			options.SetSeparator(separator);
			ExportAscii(filename, table, options);
		}
예제 #4
0
		/// <summary>
		/// Exports a table to Ascii using a stream. The stream is <b>not</b> closed at the end of this function.
		/// </summary>
		/// <param name="myStream">The stream the table should be exported to.</param>
		/// <param name="table">The table that is to be exported.</param>
		/// <param name="separator">The separator char that separates the items from each other.</param>
		static public void ExportAscii(System.IO.Stream myStream, Altaxo.Data.DataTable table, char separator)
		{
			AsciiExportOptions options = new AsciiExportOptions();
			options.SetSeparator(separator);
			ExportAscii(myStream, table, options);
		}