IPXV_CommentStylesEnumCallback::OnCommentStyle 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 OnCommentStyle([in]  ULONG                      nIndex,
+
<pre class="brush:cpp;gutter:false">HRESULT OnCommentStyle([in]  ULONG                      Index,
                       [in]  LPWSTR                    sID,
+
                       [in]  LPWSTR                    ID,
                       [in]  LPWSTR                    sName,
+
                       [in]  LPWSTR                    Name,
                       [in]  BSTR                      sDesc,
+
                       [in]  BSTR                      Desc,
                       [in]  LONG                      nFlags,
+
                       [in]  LONG                      Flags,
                       [in]  ICabNode*                  pStyleParams,
+
                       [in]  ICabNode*                  StyleParams,
                       [in]  IPXV_CommentStyleGetIcon*  pGetIcon);</pre>
+
                       [in]  IPXV_CommentStyleGetIcon*  GetIcon);</pre>
  
 
== Parameters ==
 
== Parameters ==
;nIndex
+
;Index
 
:[in]  Value of ULONG.
 
:[in]  Value of ULONG.
;sID
+
;ID
 
:[in]  Value of LPWSTR.
 
:[in]  Value of LPWSTR.
;sName
+
;Name
 
:[in]  Value of LPWSTR.
 
:[in]  Value of LPWSTR.
;sDesc
+
;Desc
 
:[in]  Value of BSTR.
 
:[in]  Value of BSTR.
;nFlags
+
;Flags
 
:[in]  Value of LONG.
 
:[in]  Value of LONG.
;pStyleParams
+
;StyleParams
 
:[in]  Pointer to [[PXV:ICabNode|ICabNode]].
 
:[in]  Pointer to [[PXV:ICabNode|ICabNode]].
;pGetIcon
+
;GetIcon
 
:[in]  Pointer to [[PXV:IPXV_CommentStyleGetIcon|IPXV_CommentStyleGetIcon]].
 
:[in]  Pointer to [[PXV:IPXV_CommentStyleGetIcon|IPXV_CommentStyleGetIcon]].
  

Revision as of 07:24, 12 June 2015


The method of interface of PDF-XChange Editor SDK.

Syntax

HRESULT OnCommentStyle([in]  ULONG                      Index,
                       [in]  LPWSTR                     ID,
                       [in]  LPWSTR                     Name,
                       [in]  BSTR                       Desc,
                       [in]  LONG                       Flags,
                       [in]  ICabNode*                  StyleParams,
                       [in]  IPXV_CommentStyleGetIcon*  GetIcon);

Parameters

Index
[in] Value of ULONG.
ID
[in] Value of LPWSTR.
Name
[in] Value of LPWSTR.
Desc
[in] Value of BSTR.
Flags
[in] Value of LONG.
StyleParams
[in] Pointer to ICabNode.
GetIcon
[in] Pointer to IPXV_CommentStyleGetIcon.

Return Value

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

See Also

IPXV_CommentStylesEnumCallback