Click or drag to resize

FigureRenumeratorGetLinkList Method

Gets a list containing all links that point to figures, and that have a number inside the link text that is considered as the number of the figure the link is referring to.

Namespace: Altaxo.Text
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public static List<(int CaptionListIndex, (int , int ) Number, LinkInline Link)> GetLinkList(
	MarkdownDocument document,
	List<((string , int , int ) Category, (int , int ) Number, Figure Figure, FigureCaption FigureCaption)> captionList
)

Parameters

document  MarkdownDocument
The markdown document.
captionList  ListValueTupleValueTupleString, Int32, Int32, ValueTupleInt32, Int32, Figure, FigureCaption
The caption list, as retrieved by GetCaptionList(MarkdownDocument).

Return Value

ListValueTupleInt32, ValueTupleInt32, Int32, LinkInline
A list containing tuples. Each tuple contains the following elements: The CaptionListIndex is the index in the captionList that the link is referring to. The Number tuple contains the position and the length of the number string in the link. The Link element is the markdown link itself.
See Also