Aurigma Forums
»
Graphics Mill
»
Discussions – Graphics Mill
»
Controlling size of text when area is resized
Rank: Member
Groups: Member
Joined: 8/25/2007(UTC) Posts: 7
|
Is there a way to fix the size of text in the TextVObject control when it is resized? I want the user to be able to resize the control (so they can add more text), but have the text size remain fixed. I do not want the text to enlarge when the control is made bigger (or shrink when the control is made smaller).
|
|
|
|
Rank: Advanced Member
Groups: Member
Joined: 1/31/2005(UTC) Posts: 458
Was thanked: 5 time(s) in 5 post(s)
|
Hello, Yes, it is possible to implement. You should disable ResizeVObjectAction of the text object and enable TextVObject.ChangeTextAreaAction. Here is small code snippet which illustrates this: Code:textObj.SupportedActions[Aurigma.GraphicsMill.WinControls.VObjectAction.Resize].Enabled = false;
textObj.SupportedActions[Aurigma.GraphicsMill.WinControls.VObjectAction.ChangeTextArea].Enabled = true;
Edited by user Tuesday, January 1, 2008 4:39:40 AM(UTC)
| Reason: Not specified |
|
|
|
|
Rank: Member
Groups: Member
Joined: 8/25/2007(UTC) Posts: 7
|
Thanks, Alex. That was exactly what I needed. - Bob
|
|
|
|
Aurigma Forums
»
Graphics Mill
»
Discussions – Graphics Mill
»
Controlling size of text when area is resized
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.