Skip to main content
Announcements
NEW: Seamless Public Data Sharing with Qlik's New Anonymous Access Capability: TELL ME MORE!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Print Icon

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



2 Replies
Not applicable
Author

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.

Not applicable
Author

Thanks for your help