Avoid opening in viewer after save (was NOVAPDF_ACTION_OPEN_OPENDOCUMENT in V7)
Avoid opening in viewer after save (was NOVAPDF_ACTION_OPEN_OPENDOCUMENT in V7)
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.
*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)
Found what I was looking for:
pNova->DisableActionType(NOVA_ACTION_OPEN);
pNova->DisableActionType(NOVA_ACTION_OPEN);
-
- Posts: 177
- Joined: Wed Dec 16, 2009 10:48 am
Re: Avoid opening in viewer after save (was NOVAPDF_ACTION_OPEN_OPENDOCUMENT in V7)
Thank you for sharing your solution with other users.