IPXV_CommentStylesManager::AddNewCustomStyle Method
From PDF XChange PDF SDK
m (Automatic page editing by robot) |
m (Automatic page editing by robot) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 10: | Line 10: | ||
== Syntax == | == Syntax == | ||
<pre class="brush:cpp;gutter:false">HRESULT AddNewCustomStyle([in] LONG nToolID, | <pre class="brush:cpp;gutter:false">HRESULT AddNewCustomStyle([in] LONG nToolID, | ||
− | [in] BSTR | + | [in] BSTR sName, |
− | [in] BSTR | + | [in] BSTR sDesc, |
− | [out, retval] BSTR* | + | [out, retval] BSTR* sNewStyleID);</pre> |
== Parameters == | == Parameters == | ||
;nToolID | ;nToolID | ||
:[in] Value of LONG. | :[in] Value of LONG. | ||
− | ; | + | ;sName |
:[in] Value of BSTR. | :[in] Value of BSTR. | ||
− | ; | + | ;sDesc |
:[in] Value of BSTR. | :[in] Value of BSTR. | ||
− | ; | + | ;sNewStyleID |
:[out, retval] Pointer to BSTR. | :[out, retval] Pointer to BSTR. | ||
Latest revision as of 02:48, 15 June 2015
The method of interface of PDF-XChange Editor SDK.
Syntax
HRESULT AddNewCustomStyle([in] LONG nToolID, [in] BSTR sName, [in] BSTR sDesc, [out, retval] BSTR* sNewStyleID);
Parameters
- nToolID
- [in] Value of LONG.
- sName
- [in] Value of BSTR.
- sDesc
- [in] Value of BSTR.
- sNewStyleID
- [out, retval] Pointer to BSTR.
Return Value
Returns S_OK if operation was successful or error code in other cases.