InsertText Horizontal and Vertical Alignments

12 views (last 30 days)
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?

Accepted Answer

Akshay Kumar
Akshay Kumar on 3 Sep 2018
You can use the ‘AnchorPoint’ property of ‘InsertText’ to align text in an image. You can refer the below link for further details

More Answers (0)

Community Treasure Hunt

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

Start Hunting!