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)
 
(4 intermediate revisions by the same user not shown)
Line 2: Line 2:
 
[[Category:Editor]]
 
[[Category:Editor]]
 
{{#customTitle:IPXV_CommentStylesManager::AddNewCustomStyle Method}}
 
{{#customTitle:IPXV_CommentStylesManager::AddNewCustomStyle Method}}
{{#parentPage:PXV:IPXV_CommentStylesManager#Methods|AddNewCustomStyle Method|method}}
+
{{#parentPage:PXV:IPXV_CommentStylesManager#Methods|AddNewCustomStyle|method}}
 
{{ToWrite}}
 
{{ToWrite}}
 
{{ToReview}}
 
{{ToReview}}
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  pName,
+
                           [in]          BSTR  sName,
                           [in]          BSTR  pDesc,
+
                           [in]          BSTR  sDesc,
                           [out, retval]  BSTR*  ppNewStyleID);</pre>
+
                           [out, retval]  BSTR*  sNewStyleID);</pre>
  
 
== Parameters ==
 
== Parameters ==
 
;nToolID
 
;nToolID
 
:[in]  Value of LONG.
 
:[in]  Value of LONG.
;pName
+
;sName
 
:[in]  Value of BSTR.
 
:[in]  Value of BSTR.
;pDesc
+
;sDesc
 
:[in]  Value of BSTR.
 
:[in]  Value of BSTR.
;ppNewStyleID
+
;sNewStyleID
 
:[out, retval]  Pointer to BSTR.
 
:[out, retval]  Pointer to BSTR.
  
Line 28: Line 28:
  
 
== See Also ==
 
== See Also ==
[[PXV:IPXV_CommentStylesManager|IPXV_CommentStylesManager]].
+
[[PXV:IPXV_CommentStylesManager|IPXV_CommentStylesManager]]

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