+1 800 256 3608 (toll-free in North America) or +49 7531 9060-10| service@combit.com

Adding ProhibitedActions for Preview Viewer

Hello,
Is there a way to add prohibited actions for the print preview viewer ? In particular disabling Minimize menu and Export option.

Doing something like:
ll.DesignerWorkspace.ProhibitedActions.Add(LlDesignerAction.Minimize);
ll.DesignerWorkspace.ProhibitedActions.Add(LlDesignerAction.FileExport);
works fine with Design(), but it does nothing when I try it with Print().

Thank you!

There’s the LlViewerProhibitAction which can be used like this:

LL.Core.LlViewerProhibitAction(LlViewerAction.SaveAs)

The “Maximize” button cannot be removed here, unfortunately.

© combit GmbH