IPXV_CommentStylesManager::AddNewCustomStyle Method

From PDF XChange PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
m (Automatic page editing by robot)
 
Line 9: Line 9:
  
 
== Syntax ==
 
== Syntax ==
<pre class="brush:cpp;gutter:false">HRESULT AddNewCustomStyle([in]          LONG  ToolID,
+
<pre class="brush:cpp;gutter:false">HRESULT AddNewCustomStyle([in]          LONG  nToolID,
                           [in]          BSTR  Name,
+
                           [in]          BSTR  sName,
                           [in]          BSTR  Desc,
+
                           [in]          BSTR  sDesc,
                           [out, retval]  BSTR*  NewStyleID);</pre>
+
                           [out, retval]  BSTR*  sNewStyleID);</pre>
  
 
== Parameters ==
 
== Parameters ==
;ToolID
+
;nToolID
 
:[in]  Value of LONG.
 
:[in]  Value of LONG.
;Name
+
;sName
 
:[in]  Value of BSTR.
 
:[in]  Value of BSTR.
;Desc
+
;sDesc
 
:[in]  Value of BSTR.
 
:[in]  Value of BSTR.
;NewStyleID
+
;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.

See Also

IPXV_CommentStylesManager