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

How to resize textVobject text area programmatically without resize the text size

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.

Just use txtObj.Transform.Scale(scaleX, scaleY),
where:
scaleX = newWidth/currentWidth, and si
scaleY = newHeight/currentHeight