Limited time promo

GetOverlay2

English

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

Download now Buy licenses
Apr 14, 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 GetOverlay2 method retrieves the overlay
HRESULT GetOverlay2(
    [in] LONG p_nIndex,
    [out, string] BSTR* p_pwsOverlayId
);

Parameters:

p_nIndex,
    [in] - overlay index

p_pwsOverlayId
    [out, string] - overlay id

Return values:

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

Remarks:

There can be multiple overlays in a profile.
For layout options, see Working with Layout objects.