Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello,
I want to increase or decrease the size of text object through the macro code.
How can i get the width & hight values of text object?
How to change those values ?
hi,
use this
sub cin
set obj = ActiveDocument.GetSheetObject("TX01")
set fr = obj.GetFrameDef
set pos = fr.Rect
pos.Width = pos.Width * 1.1
pos.Height = pos.height * 1.1
obj.SetFrame fr,true,dummy
End sub
to increase......multiply with .9 to decres size,,
here is the attached sample app....
Enjoy...!!!!!!
Regards
Arun
...
hi,
use this
sub cin
set obj = ActiveDocument.GetSheetObject("TX01")
set fr = obj.GetFrameDef
set pos = fr.Rect
pos.Width = pos.Width * 1.1
pos.Height = pos.height * 1.1
obj.SetFrame fr,true,dummy
End sub
to increase......multiply with .9 to decres size,,
here is the attached sample app....
Enjoy...!!!!!!
Regards
Arun
...
Thanks goel..
Hi goel,
this is working well with the IE plugin ... if i convert this into webview.. the macro is not working .. any solution for this ...please
thanks in advance ...
Regards,
Ramakanth
hi,
Macro do not run in web view or through access point.....only inbuilt actions can be performed in such cases.....
You can do this through variables, using show hide text boxes ......
Regards
Arun Goel