Welcome Guest! You need to login or register to make posts.

Notification

Icon
Error

Options
Go to last post Go to first unread
ChingYen  
#1 Posted : Monday, May 9, 2011 4:36:03 PM(UTC)
ChingYen

Rank: Advanced Member

Groups: Member
Joined: 3/3/2008(UTC)
Posts: 185

Thanks: 8 times
Hi,

We tried to do this in our code while the textVObject is under EditTextArea = true and EditSize = false Mode.We did figure out that the text size still being scale in a small (compare to the result for EditSize = true) ratio. Can we know how can we scale (resize) the text area in code without skew/resize the text at all?

Kindly advise.

Code:

foreach (Aurigma.GraphicsMill.WinControls.VObject swTmpVObject2 in _workingMultilayerViewer.CurrentDesigner.VObjects)
{
  if (swTmpVObject2 is Aurigma.GraphicsMill.WinControls.TextVObject)
  {
    swTmpVObject2.Transform.Scale((float)2, (float)2, MatrixOrder.Append);
    swTmpVObject2.Update();
  }
}

Edited by user Monday, May 9, 2011 7:53:40 PM(UTC)  | Reason: Not specified

Dmitry.Obukhov  
#2 Posted : Tuesday, May 10, 2011 2:32:11 AM(UTC)
Dmitry.Obukhov

Rank: Advanced Member

Groups: Member
Joined: 5/29/2010(UTC)
Posts: 1,310

Thanks: 8 times
Was thanked: 111 time(s) in 111 post(s)
Hello Ching-Yen,

Unfortunately, there is no way to change text area without scaling text.
Best regards,
Dmitry Obukhov
Technical Support. Aurigma, Inc.
Users browsing this topic
Guest
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.