Limited time promo

GetWatermarkText

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 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 GetWatermarkText method retrieves an existing image watermark properties.
HRESULT GetWatermarkText(
[ in ] LONG p_nIndex,
[ out, string ] LPWSTR* p_pwsWatermarkId
);

Parameters:

p_nIndex,
[in] - watermark index
p_pwsWatermarkId
[out, string] - watermark 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_INVALID_WATERMARK_IMG - wrong image watermark index