Aurigma Forums
»
Graphics Mill
»
Discussions – Graphics Mill
»
How to resize textVobject text area programmatically without resize the text size
Rank: Advanced Member
Groups: Guest
Joined: 3/3/2008(UTC) Posts: 185
Thanks: 8 times
|
May I know how can resize the textVObject (without resize the text size) programmacally? I tried the code txtObj.TextArea.Size = New System.Drawing.SizeF(txtObj.TextArea.Width * Multiply_Size, txtObj.TextArea.Height & Multiply_Size) But, seems like no luck on that. Please advice.
|
|
|
|
Rank: Member
Groups: Guest
Joined: 9/7/2008(UTC) Posts: 19
|
Just use txtObj.Transform.Scale(scaleX, scaleY), where: scaleX = newWidth/currentWidth, and si scaleY = newHeight/currentHeight
|
|
|
|
Aurigma Forums
»
Graphics Mill
»
Discussions – Graphics Mill
»
How to resize textVobject text area programmatically without resize the text size
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.