IPXV_JSCodeSnippetsStorage::AddNew Method

From PDF XChange PDF SDK
Jump to: navigation, search


The method of interface of PDF-XChange Editor SDK.

Syntax

HRESULT AddNew([in]           LPWSTR                sName,
               [in]           LPWSTR                sDesc,
               [in]           LPWSTR                sBody,
               [out, retval]  IPXV_JSCodeSnippet**  pNew);

Parameters

sName
[in] Value of LPWSTR.
sDesc
[in] Value of LPWSTR.
sBody
[in] Value of LPWSTR.
pNew
[out, retval] Pointer to IPXV_JSCodeSnippet.

Return Value

Returns S_OK if operation was successful or error code in other cases.

See Also

IPXV_JSCodeSnippetsStorage