T O P I C R E V I E W |
AndNit |
Posted - Sep 16 2023 : 13:47:49 Hello,
When adding a text layer and changing, for example, the text color and font size, these settings are not saved when I open a new text layer.
How to keep this saved and if not possible, how to save these settings in variables when the user changes them? |
6 L A T E S T R E P L I E S (Newest First) |
AndNit |
Posted - Sep 21 2023 : 07:07:22 hello,
Thank you for your attention, I've emailed you. |
xequte |
Posted - Sep 19 2023 : 19:44:47 Hi
You can email me to test an update that sets the layer font when editing rich text layers.
Nigel Xequte Software www.imageen.com
|
AndNit |
Posted - Sep 18 2023 : 18:08:06 Yes, EnableFormatting is True in my code.
The problem is not sending formatting for color or font size, but rather recovering the color or font size that the user entered during use.
For example:
I configured it to start with the color red, font 20, but the user changed it to yellow and font size 50. I would like to get these values #8203;#8203;so that when the text box is opened again, it opens with these settings. |
xequte |
Posted - Sep 18 2023 : 17:47:49 Hi
Is this with a rich text layer, i.e. EnableFormatting=True
http://www.imageen.com/help/TIETextLayer.EnableFormatting.html
Can you attach a screenshot of what you are seeing?
Nigel Xequte Software www.imageen.com
|
AndNit |
Posted - Sep 18 2023 : 15:09:37 Hello ,
The recommended solution did not resolve the problem. I can't capture the color and font the user selected? Being able to get this information when calling a new text box I would pass these values, this demand is very complicated here and would be very useful for our system.
I do it like this, but when I go to get this information, it always shows a black pattern in the color and a pattern in the font size as well.
TIETextLayer( image.CurrentLayer ).Font.Color := ClRed
TIETextLayer( image.CurrentLayer ).Font.Size := 20 |
xequte |
Posted - Sep 17 2023 : 23:16:31 Hi
There is not an option for this at present, but you could store the current properties whenever they change and apply them when new layers are added:
http://www.imageen.com/help/TIELayer.GetProperties.html
Nigel Xequte Software www.imageen.com
|