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:

ParameterTypeDescription
heightnumberThe pixel height.
mode?Cm5CoordsMode | undefinedThe coordinate system.

Returns: numberThe line number.