DeleteWatermarkText2

Top  Previous  Next

The DeleteWatermarkText2 method deletes an existing text watermark.

HRESULT DeleteWatermarkText2(

[in] SHORT p_nWatermark,

[instring] BSTR p_wsProfileName,

[in] BOOL p_bPublicProfile

);

 

Parameters:

p_nWatermark

[in] image watermark index

p_wsProfileName

[in] pointer to a null terminated Unicode string containing the profile to modify. 

If this parameter is an empty string, the current active profile is used.

p_bPublicProfile

[in] - flag, profile is a public profile

 

Return values:

S_OK on success or COM error code

NV_NOT_INITIALIZED - Initialize was not called

NV_INVALID_WATERMARK_TXT - wrong image watermark index

NV_PUBLIC_PROFILE - you cannot change public profiles only on server

 

Remarks:

When you delete a text watermark, the indexes for the remaining text watermarks will be recalculated.