This forum contains outdated content and is available for reading only. Please contact technical support if you have any questions.

Notification

Icon
Error

Options
Go to last post Go to first unread
ChingYen  
#1 Posted : Saturday, September 6, 2008 12:14:38 AM(UTC)
ChingYen

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.

HabaHaba  
#2 Posted : Sunday, September 7, 2008 4:31:06 AM(UTC)
HabaHaba

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

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.