I am using InsertText to add text to an image. I know that text() has properties like HorizontalAlignment and VerticalAlignment, and I was wondering if there is something similar for InsertText? I tried to search but I could not find anything, and the vertical/horizontal alignments are not part of its properties. Is there a way I can adjust the alignment?

 채택된 답변

Akshay Kumar
Akshay Kumar 2018년 9월 3일

0 개 추천

You can use the ‘AnchorPoint’ property of ‘InsertText’ to align text in an image. You can refer the below link for further details

추가 답변 (0개)

카테고리

도움말 센터 및 File Exchange에서 Display Image에 대해 자세히 알아보기

질문:

2018년 8월 30일

댓글:

2018년 9월 4일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by