FigureRenumeratorExtractNumberFromLink Method |
Extracts the text position of the number from a link.
Note: if the link text contains more than one number, only the position of the last number is returned.
Namespace: Altaxo.TextAssembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax public static (int Position, int Count) ExtractNumberFromLink(
LinkInline link
)
Parameters
- link LinkInline
- The link.
Return Value
ValueTupleInt32,
Int32A tuple containing the position and count of the number in the link. If the link does not contain a number,
the tuple (-1, 0) is returned.
See Also