Limited time promo

This help topic applies only to novaPDF. If you don't have it yet, you must download it first.

Download now Buy licenses
Adrian (Softland)
Mar 22, 2022
novaPDF 11.x
We strive to keep our help as accurate as possible. If you notice any inconsistencies or outdated info please let us know.
The LicenseShellExecuteFile method licences a document to be printed with ShellExecute
HRESULT LicenseShellExecuteFile(
[ in ] BSTR p_pwstrFileName,
);

Parameters:

p_pwstrFileName
[in] pointer to a Unicode string containing the name of the file that will be licensed

Return values:

S_OK on success or COM error code

Remarks:

This method must be called prior to calling the ShellExecute function for the given parameter. This call assures that the document will be printed without the notice on bottom of pages, even if the application that prints the document is already opened.