This help topic applies only to novaPDF. If you don't have it yet, you must download it first.
Download now Buy licenses
Adrian (Softland)
Apr 08, 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 GetCustomProperty2 method returns the custom property for the given index
HRESULT GetCustomProperty2(
[in] LONG p_nIndex,
[out, string] BSTR* p_pwsPropertyName,
[out, string] BSTR* p_pwsPropertyValue,
[out] BOOL* p_pbEnabled
);
Parameters:
p_nIndex
[in] custom property index
p_pwsPropertyName
[out] custom property name
p_pwsPropertyValue
[out] custom property value
p_bEnabled
[out] flag, tag is enabled
Return values:
S_OK
on success or COM error codeNV_NOT_INITIALIZED
- Initialize was not calledNV_UNKNOWN_PROFILE
- no profile loadedNV_INVALID_CUSTOM_PROPERTY
- invalid custom property indexRemarks:
This method returns information about the custom property at position given by p_nIndex