The DeleteLayout method deletes an existing layout for the specified object
HRESULT DeleteLayout(
[in] LPCWSTR p_wsObjectId
[in] LPCWSTR p_wsLayoutId
);
Parameters:
p_pwsObjectId
[in] object id (watermark text, watermark image, overlay, signature or content)
p_pwsLayoutId
[in] layout id (obtained with [GetLayout](getlayout-help.html) )
Return values:
S_OK
on success or COM error codeNV_NOT_INITIALIZED
- Initialize was not calledNV_UNKNOWN_PROFILE
- no profile loadedNV_INVALID_LAYOUT
- layout not found for specified object