public void process(InkAnalyzer inkAnalyzer) { ContextNodeCollection contextNodeCollection = inkAnalyzer.FindLeafNodes(); List <Stroke> horizontalLines = InkUtils.findLines(contextNodeCollection); findAndDeleteStrikethrough(inkAnalyzer, canvas, horizontalLines, contextNodeCollection); }
public void process(InkAnalyzer inkAnalyzer) { ContextNodeCollection contextNodeCollection = inkAnalyzer.FindLeafNodes(); List <Stroke> horizontalLines = InkUtils.findLines(contextNodeCollection); List <HeadingItem> headings = findHeadings(horizontalLines, contextNodeCollection); //Here is the end result of the headings mainHeading.headings = headings; //Invalidate and render the headings to the side panel mainHeading.invalidate(); }