The GetWatermarkImage2 method retrieves an existing image watermark properties.
HRESULT GetWatermarkImage2(
[in] LONG p_nIndex,
[out, string] BSTR* p_pwsWatermarkId
);
Parameters:
p_nIndex,
[in] - watermark index
p_pwsWatermarkId
[out, string] - watermark id
Return values:
S_OK
on success or COM error codeNV_NOT_INITIALIZED
- Initialize was not calledNV_UNKNOWN_PROFILE
- no profile loadedNV_INVALID_WATERMARK_IMG
- wrong image watermark index