Page 1 of 1

Avoid opening in viewer after save (was NOVAPDF_ACTION_OPEN_OPENDOCUMENT in V7)

Posted: Tue Oct 30, 2018 7:46 pm
by sniles
In version 7, we were using the NOVAPDF_ACTION_OPEN_OPENDOCUMENT profile option to avoid having the PDF opened in a viewer after it was printed. That option seems to be gone in version 9, and I can't find what replaced/superseded it. I see the dialog/settings option, but I need to set this from the API.

*EDIT: I did some more digging, and I suspect what I need is to call SetActionOptionLong, but I can't find anything that indicates what actionID I need to use, and what the option is.

Re: Avoid opening in viewer after save (was NOVAPDF_ACTION_OPEN_OPENDOCUMENT in V7)

Posted: Wed Oct 31, 2018 5:55 pm
by sniles
Found what I was looking for:

pNova->DisableActionType(NOVA_ACTION_OPEN);