getColumnId( )

Returns the column index (zero-based) of a location in the Document Coordinate System.

Interface

mimelist

JavaScript synopsis
inst.getColumnId(x, y)
C synopsis
AInt16 getColumnId(
  ListInstance* inst,
  AInt32 x,
  AInt32 y
)
Parameters
  • inst   The MIME instance.

  • x   x position in the Document Coordinate System.

  • y   y position in the Document Coordinate System.

Returns

The column index (zero-based), or -1 if (x, y) doesn’t fall within a column.