Skip to content

Cm5Editor.lineAtHeight method

Cm5Editor › lineAtHeight

Unofficial

Computes the line at the given pixel height.

Signature:

lineAtHeight(height: number, mode?: Cm5CoordsMode | undefined): number

Parameters:

Parameter Type Description
height number The pixel height.
mode? Cm5CoordsMode | undefined The coordinate system.

Returns: numberThe line number.