[19 Feb 2010] Modifing/reading TextOut-Objects
Posted: Sat Jun 13, 2020 5:32 pm
Note: This is an archived post that was originally sent to the Hollywood mailing list on Fri, 19 Feb 2010 10:41:35 -0000
Is it possible to get the text as string from a layer which is a "TextOut"-Object? GetAttribute() seems not to give me that information, does it? I want to "click" on a TextOut-Object and then edit its text. Editing/Changing the text is possible, but not retrieving its original text, is it?
Is it possible to change the automatic word wrapping for "TextOut"-Objects? SetLayer(id, {RightMargin=XXX}) does not do the trick? At least, I can't see any affect with RightMargin, so actually, I don't know what it is good for.
I want to zoom-in/-out in groups of layers with TextOut-Objects. Zooming in TextOut-Objects is done by changing the fontsize but then, i also need to change the automatic word-wrapping, which can be set during the creation of TextOut-Objects. How can I change its settings for word-wrapping again?
Andreas: Thanks a lot for your permanent work on Hollywood! Also, I felt somehow "guilty" by seeing my real name here in the list because, then, obviously it was me who "forced" you to further enrich Hollywood with new features! (and I feel always uncomfortable by seeing my full real name in the world wide spam web.
)
regards, Tom
Is it possible to get the text as string from a layer which is a "TextOut"-Object? GetAttribute() seems not to give me that information, does it? I want to "click" on a TextOut-Object and then edit its text. Editing/Changing the text is possible, but not retrieving its original text, is it?
Is it possible to change the automatic word wrapping for "TextOut"-Objects? SetLayer(id, {RightMargin=XXX}) does not do the trick? At least, I can't see any affect with RightMargin, so actually, I don't know what it is good for.
Andreas: Thanks a lot for your permanent work on Hollywood! Also, I felt somehow "guilty" by seeing my real name here in the list because, then, obviously it was me who "forced" you to further enrich Hollywood with new features! (and I feel always uncomfortable by seeing my full real name in the world wide spam web.
regards, Tom