My code as follow: TIELineLayer **llyr; llyr = (TIELineLayer*)(ImgEnMain->CurrentLayer); llyr->RulerUnits = MeasUnit; llyr->IsRuler = true; llyr->TextOverflow = ieoshrink; ... When you draw a short measuring line, the measured value will not be displayed on the line. Therefore, how can the measured value be displayed regardless of the length of the measuring line.
Unfortunately, at this time, text may not be visible when the line is too small (text has no minimum size when shrinking). We'll improve that in a later update.
For v10.1.1 rulers always display hover text so at least the size is shown while creating/resizing the line layer.