The AddProfile method adds a new profile
HRESULT AddProfile(
[in, string] LPCWSTR p_wsProfileName,
[in] BOOL p_bPublicProfile
[out, string] LPWSTR* p_pwsNewProfileId
);
Parameters:
p_wsProfileName
[in] name of the profile to add
p_bPublicProfile
[in] Flag if the profile is a public or a private profile
p_pwsNewProfileId
[out] return profile id
Return values:
S_OK on success or COM error codeNV_NOT_INITIALIZED - Initialize was not calledNV_SERVICE_ERROR - cannot connect to novaPDF Server serviceNV_PROFILE_ERROR - cannot read default profileNV_PROFILE_SAVE_ERROR - cannot save new profileRemarks:
The newly created profile contains default settings.