MyDAC
GetTitleLevel method returns TRect structure filled with top and bottom coordinates for the specified title level.
TCRDBGrid
function GetTitleLevel(Level: integer): TRect;