Click or drag to resize

MarkdownToResourceExportExport(IEnumerableValueTupleTextDocument, String, String, IDictionaryString, String, IDictionaryString, Byte) Method

Exports the specified documents.

Namespace: Altaxo.Text
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public static void Export(
	IEnumerable<(TextDocument document, string relativeResourceKeyForDocument)> documents,
	string prefixOfResourceFiles,
	IDictionary<string, string> stringResources,
	IDictionary<string, byte[]> imageResources
)

Parameters

documents  IEnumerableValueTupleTextDocument, String
The documents as an enumerable of tuples, consisting of the markdown document and the relative resource key in which it should be stored.
prefixOfResourceFiles  String
The prefix of resource files. It is assumed that string resources and image resources reside in the same folder. Example: If the resource files reside in the source folder /Calc/FitFunctions, you must provide 'Altaxo.Calc.FitFunctions' (Altaxo first because its the namespace of the assembly).
stringResources  IDictionaryString, String
A dictionary in which the string resources are collected. Key is the relative resource key name, Value is the markdown text.
imageResources  IDictionaryString, Byte
A dictionary in which the image resources are collected. Key is the relative resource key name, Value is the image as an array of bytes.
See Also