InsertText Horizontal and Vertical Alignments

10 次查看(过去 30 天)
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
You can use the ‘AnchorPoint’ property of ‘InsertText’ to align text in an image. You can refer the below link for further details

更多回答(0 个)

Community Treasure Hunt

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

Start Hunting!

Translated by