IPXS_PDFVariant::Dict_Get Method
From PDF XChange PDF SDK
Get dictionary value variant by Unicode name. To get better performance please use Dict_GetA function.
Syntax
HRESULT Dict_Get([in] LPWSTR sKey, [out, retval] IPXS_PDFVariant** pItem);
Parameters
- sKey
- [in] Key name as Unicode string.
- pItem
- [out, retval] Pointer to the variable where the IPXS_PDFVariant pointer of the value variant will be stored.
Return Value
Returns S_OK if operation was successful.
Returns S_FALSE if current variant is neither PVT_Dictionary
nor PVT_Stream
, or value with specified name not found in dictionary.
Otherwise return error code.