You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
Description
This function gets the text extent of a text string. Useful if the exact extent of text in GUIs is needed.
Example
>> getTextExtent('Hello World', ...
'Name', 'Avenir Next', ...
'Size', 14, ...
'Weight', 'bold')
ans =
82.0000 19.5000
Cite As
Eivind Hennestad (2026). getTextExtent (https://www.mathworks.com/matlabcentral/fileexchange/168156-gettextextent), MATLAB Central File Exchange. Retrieved .
General Information
- Version 1.0.0 (2.11 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.0.0 |
