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

How to prevent printing, exporting and emailing from Preview

How can I prevent users from actually printing from the PrintPreview.
I have a sensitive document that I want the users to only be allowed to preview, but not print, export, email or fax. How can I code this?
I am using C# .NET in Microsoft Visual Studio.

I am making progress. I can prevent printing by setting the Exports_Allowed option to “PRV” (Preview), but the Preview window still allows emails. I need to prevent this also.
Code to set Preview “only”:

                    ll.Core.LlSetOptionString(LlOptionString.Exports_Allowed, "PRV");
                    ll.Core.LlSetOptionString(LlOptionString.ExportsAllowedInPreview, "PRV");

This should work using the LlViewerProhibitAction method of the Core object. See here: https://docu.combit.net/net/en/#combit.ListLabel~combit.ListLabel.LlCore~LlViewerProhibitAction(LlViewerAction).html.

1 Like

That was it! Thanks!

1 Like

© combit GmbH