Click or drag to resize

OutputToStreams Method

Exports the Bill of Materials (BOM) data using the specified template file and saves it to the provided file or directory path.

Namespace: CeliAPS.BomApi
Assembly: BomApi (in BomApi.dll) Version: 1.0.63
Syntax
Task<IEnumerable<MemoryStream>> ToStreams(
	string templateFilename,
	OutputFormatEnum outputFormat = OutputFormatEnum.Default,
	CancellationToken cancellationToken = default
)

Parameters

templateFilename  String
The filename of the template to be used for exporting.
outputFormat  OutputFormatEnum  (Optional)
Used to determinate the format of output file. Default value indicates that format should be same as template.
cancellationToken  CancellationToken  (Optional)
A cancellation token that can be used to cancel the export operation.

Return Value

TaskIEnumerableMemoryStream
See Also