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)
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 GetOverlay method retrieves the overlay
HRESULT GetOverlay(
[in] LONG p_nIndex,
[out, string] LPWSTR* p_pwsOverlayId
);
Parameters:
p_nIndex,
[in] - overlay index
p_pwsOverlayId
[out, string] - overlay id
Return values:
S_OK
on success or COM error codeNV_NOT_INITIALIZED
- Initialize was not calledNV_UNKNOWN_PROFILE
- no profile loadedNV_PROFILE_ERROR
- error reading profileRemarks:
There can be multiple overlays in a profile.
For layout options, see Working with Layout objects.