# GetCharAtPos Method

## Applies to

THtmlViewer, component

## Declaration

function GetCharAtPos(Pos: integer; var Ch: WideChar; var Font: TFont): boolean;

## Description

Given Pos, a position in the display, the character at that position is returned as well as its font. Character position is sequential and starts with 0.

The function returns false if Pos is out of range.

See also

SelStart Property

CaretPos Property