Click or drag to resize

MarkdownToResourceExportExportMarkdownDocumentsToResourceFiles(IDictionaryString, String, IDictionaryString, Byte, String, IResourceReader, IResourceWriter, Boolean, IResourceReader, IResourceWriter, Boolean) Method

Exports the collected markdown documents and images to the string and the image resource file.

Namespace: Altaxo.Text
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public static void ExportMarkdownDocumentsToResourceFiles(
	IDictionary<string, string> stringDictionary,
	IDictionary<string, byte[]> imageDictionary,
	string prefixOfResourceFiles,
	IResourceReader stringResourceReader,
	IResourceWriter stringResourceWriter,
	bool storeStringResourcesWithAbsoluteKey,
	IResourceReader imageResourceReader,
	IResourceWriter imageResourceWriter,
	bool storeImageResourcesWithAbsoluteKey
)

Parameters

stringDictionary  IDictionaryString, String
The string dictionary. Key is the relative resource key, value is the markdown text that should be stored.
imageDictionary  IDictionaryString, Byte
The image dictionary. Key is the relative resource key, value is the byte array that represents the image.
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).
stringResourceReader  IResourceReader
The string resource reader.
stringResourceWriter  IResourceWriter
The string resource writer.
storeStringResourcesWithAbsoluteKey  Boolean
If true, the string resources are stored with the absolute resource key instead of the relative resource key.
imageResourceReader  IResourceReader
The image resource reader.
imageResourceWriter  IResourceWriter
The image resource writer.
storeImageResourcesWithAbsoluteKey  Boolean
If true, the image resources are stored with the absolute resource key instead of the relative resource key.
Exceptions
ExceptionCondition
ArgumentNullException stringResourceReader or stringResourceWriter or imageResourceReader or imageResourceWriter
See Also