PositionTo Method


Applies to

THtmlViewer component

Declaration

procedure PositionTo(Dest: String);

Description

Dest is a target name defined within the HTML document. PositionTo positions the document display to that location.

Example

Viewer.PositionTo('#Contents');

The # sign may be omitted if desired.