rvico TRichView Reference | TRichView

TCustomRichView.GetCheckpointYEx

Top  Previous  Next

Returns vertical coordinate of the checkpoint CheckpointData

function GetCheckpointYEx(CheckpointData: TCheckpointData): Integer;

Coordinate is relative to the top of the document (top of scrollable area)

You can use the returned value to scroll document to this checkpoint.

This method must be called only when the document is formatted.

See also methods:

GetCheckpointY;

GetCheckpointXY;

ScrollTo.

See also:

"Checkpoints";

Vertical scrolling.


TRichView © trichview.com