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)
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
__NOTOC__
 
[[Category:Editor]]
 
[[Category:Editor]]
 
{{#customTitle:IPXV_CommentStylesManager::AddNewCustomStyle Method}}
 
{{#customTitle:IPXV_CommentStylesManager::AddNewCustomStyle Method}}
{{#parentPage:PXV:IPXV_CommentStylesManager|method}}
+
{{#parentPage:PXV:IPXV_CommentStylesManager#Methods|AddNewCustomStyle|method}}
 
{{ToWrite}}
 
{{ToWrite}}
 
{{ToReview}}
 
{{ToReview}}
Line 8: Line 9:
  
 
== Syntax ==
 
== Syntax ==
<pre class="brush:cpp;gutter:false">HRESULT AddNewCustomStyle([in] LONG nToolID, [in] BSTR pName, [in] BSTR pDesc, [out, retval] BSTR* ppNewStyleID);</pre>
+
<pre class="brush:cpp;gutter:false">HRESULT AddNewCustomStyle([in]           LONG   nToolID,
 +
                          [in]           BSTR   sName,
 +
                          [in]           BSTR   sDesc,
 +
                          [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 24: Line 28:
  
 
== See Also ==
 
== 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