TE Edit Control .NET Core / .NET Framework Help
Product page

TerLocateFontId

Locate a font id in the document.

bool TerLocateFontId(FontId, ref line, ref col)
int FontId;Font id to locate.
int line;Starting line number. Set to -1 to start the search from the current cursor position.
int col;Starting column position. Set the 'line' and 'col' arguments to 0 to begin the search from the beginning of the file.

Return Value: This function returns a true value if the font id is found in the document. It also returns the line number and column number of the font id.