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
引用格式
Eivind Hennestad (2024). getTextExtent (https://www.mathworks.com/matlabcentral/fileexchange/168156-gettextextent), MATLAB Central File Exchange. 检索时间: .
MATLAB 版本兼容性
创建方式
R2024a
兼容任何版本
平台兼容性
Windows macOS Linux标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!版本 | 已发布 | 发行说明 | |
---|---|---|---|
1.0.0 |