IPXS_PDFVariant::Arr_SetStringR Method

From PDF XChange PDF SDK
Revision as of 06:46, 21 August 2015 by Lzcat (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


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.

See Also

IPXS_PDFVariant