Limited time promo

AddOverlay2

English

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

Download now Buy licenses
Mar 29, 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 AddOverlay2 method adds an overlay
 HRESULT AddOverlay2(
 [out, string] BSTR* p_pwsNewOverlayId,
 [out, string] BSTR* p_pwsNewLayoutId,
 );

Parameters:

 p_pwsNewOverlayId
 [out] new overlay id
 p_pwsNewLayoutId
 [out] new layout id

Return values:

S_OK on success or COM error code
NV_NOT_INITIALIZED - Initialize was not called
NV_UNKNOWN_PROFILE - no profile loaded

Remarks:

This method adds a new action at the end of the list of actions. After adding an action. you can change action position in the list and set specific options for each action type.