Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
I would lke to make the print icon of a sheetobject appear when some parameters are ok.
It seems to be ok with tablebox :
set mybox = ActiveDocument.GetSheetObject("TB01")
mbp = mybox.GetProperties
mbp.Layout.Frame.PrintIcon = true
mybox.SetProperties mbp
But i d'ont know how to do with a Graph or StraightTableBox. Can you help me ?
Thanks
To access the layout of a chart or StraightTableBox, instead of Layout, use GraphLayout. Example would be:
....
set mybox = ActiveDocument.GetSheetObject("CH01")
set gp = mybox.GetProperties
gp.GraphLayout.Frame.PrintIcon = false
SBox.SetProperties gp
....
I hope this helps.
Thanks for your help