Click or drag to resize

AsciiDocumentAnalysisAnalyze Method

Analyzes the first
C#
nLines
of the ascii stream.

Namespace: Altaxo.Serialization.Ascii
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public static AsciiImportOptions Analyze(
	AsciiImportOptions? importOptions,
	Stream stream,
	AsciiDocumentAnalysisOptions analysisOptions
)

Parameters

importOptions  AsciiImportOptions
The import options. Some of the field can already be filled with useful values. Since it is not neccessary to determine the value of those known fields, the analysis will be run faster then.
stream  Stream
The ascii stream to analyze.
analysisOptions  AsciiDocumentAnalysisOptions
Options that specify how many lines are analyzed, and what number formats and date/time formats will be tested.

Return Value

AsciiImportOptions
Import options that can be used in a following step to read in the ascii stream. If the stream contains no data, the returned import options will be not fully specified. The same instance is returned as given by the parameter importOptions. If importOptions was null, a new instance is created.
See Also