Main Content


Return format of text label of Distance tool

getLabelTextFormatter is not recommended. Use one of the ROI classes instead, described in Create ROI Shapes.


str = getLabelTextFormatter(h) returns a character array specifying the format used to display the label text of the Distance tool, h.

Input Arguments

collapse all

Distance tool, specified as an imdistline object.

Output Arguments

collapse all

Text format of Distance tool label, returned as a character array in a format expected by sprintf.

Version History

Introduced before R2006a