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

TerPosTag

Position the cursor at the specified tag position.

bool TerPosTag ( TagId, name, scope, repaint)
bool TerPosTag Ex( type, TagId, name, scope, repaint)
int type; Tag type (used by the TerPosTagEx function only):
TERTAG_BKM:Bookmark tag
TERTAG_USER: Generic tag
int TagId;The tag id to search for. This parameter is ignored if the 'name' parameter is specified.
string name;The tag name to search for. Please note that tag names are not unique within a document.
int scope;Search scope:
SCOPE_BEGIN:Search from the beginning of the document.
SCOPE_FORWARD:Search below the cursor position.
SCOPE_BACKWARD:Search above the cursor position.
SCOPE_ANY:A fast method of locating an instance of the requested bookmark.
bool repaint;true to refresh the screen after this operation.

Return Value: This function returns a true value when successful.