IPXS_PDFVariant::Arr_SetStringR Method
From PDF XChange PDF SDK
Replace specified element of array with new variant with type PVT_String
and specified value.
Syntax
HRESULT Arr_SetStringR([in] ULONG nPos, [in] UCHAR* nVal, [in] ULONG nValLen);
Parameters
- nPos
- [in] Specifies index of element to replace. If it is greater or equal to array size function will return
E_INVALIDARG
. - nVal
- [in] Pointer to array of UCHAR values, which represent string in raw format (same bytes as stored in pdf file, except escaped characters will be unescaped and octal characters will be decoded.
- nValLen
- [in] Value of ULONG.
Return Value
Returns S_OK if operation was successful or error code in other cases.