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  nToolID,
+
<pre class="brush:cpp;gutter:false">HRESULT AddNewCustomStyle([in]          LONG  ToolID,
                           [in]          BSTR  sName,
+
                           [in]          BSTR  Name,
                           [in]          BSTR  sDesc,
+
                           [in]          BSTR  Desc,
                           [out, retval]  BSTR*  sNewStyleID);</pre>
+
                           [out, retval]  BSTR*  NewStyleID);</pre>
  
 
== Parameters ==
 
== Parameters ==
;nToolID
+
;ToolID
 
:[in]  Value of LONG.
 
:[in]  Value of LONG.
;sName
+
;Name
 
:[in]  Value of BSTR.
 
:[in]  Value of BSTR.
;sDesc
+
;Desc
 
:[in]  Value of BSTR.
 
:[in]  Value of BSTR.
;sNewStyleID
+
;NewStyleID
 
:[out, retval]  Pointer to BSTR.
 
:[out, retval]  Pointer to BSTR.
  

Revision as of 06:24, 12 June 2015


The method of interface of PDF-XChange Editor SDK.

Syntax

HRESULT AddNewCustomStyle([in]           LONG   ToolID,
                          [in]           BSTR   Name,
                          [in]           BSTR   Desc,
                          [out, retval]  BSTR*  NewStyleID);

Parameters

ToolID
[in] Value of LONG.
Name
[in] Value of BSTR.
Desc
[in] Value of BSTR.
NewStyleID
[out, retval] Pointer to BSTR.

Return Value

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

See Also

IPXV_CommentStylesManager