Click or drag to resize

MarkdownToResourceExportExport(TextDocument, String, String) Method

Exports the specified TextDocument to markdown text and resource images.

Namespace: Altaxo.Text
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax
C#
public static (string markdownDocument, Dictionary<string, byte[]> Images) Export(
	TextDocument document,
	string resourceKeyOfDocument,
	string prefixOfResourceFiles
)

Parameters

document  TextDocument
The document to export.
resourceKeyOfDocument  String
The resource key of the document.
prefixOfResourceFiles  String
The prefix of the 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 it is the namespace of the assembly).

Return Value

ValueTupleString, DictionaryString, Byte
The exported markdown document together with the referenced images as byte arrays.
See Also