IUIX_CmdHandler::OnDrawItemIcon Method

From PDF XChange PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
m (Automatic page editing by robot)
Line 1: Line 1:
 
[[Category:Editor]]
 
[[Category:Editor]]
 
{{#customTitle:IUIX_CmdHandler::OnDrawItemIcon Method}}
 
{{#customTitle:IUIX_CmdHandler::OnDrawItemIcon Method}}
{{#parentPage:PXV:IUIX_CmdHandler|method}}
+
{{#parentPage:PXV:IUIX_CmdHandler|OnDrawItemIcon Method|method}}
 
{{ToWrite}}
 
{{ToWrite}}
 
{{ToReview}}
 
{{ToReview}}
Line 8: Line 8:
  
 
== Syntax ==
 
== Syntax ==
<pre class="brush:cpp;gutter:false">HRESULT OnDrawItemIcon([in] IUIX_RenderContext* pRC, [in] IUIX_CmdItem* pItem, [in] RECT* pIconRect, [in] RECT* pClip);</pre>
+
<pre class="brush:cpp;gutter:false">HRESULT OnDrawItemIcon([in] IUIX_RenderContext* pRC,
 +
                      [in] IUIX_CmdItem*       pItem,
 +
                      [in] RECT*               pIconRect,
 +
                      [in] RECT*               pClip);</pre>
  
 
== Parameters ==
 
== Parameters ==
;''pRC''
+
;pRC
 
:[in]  Pointer to [[PXV:IUIX_RenderContext|IUIX_RenderContext]].
 
:[in]  Pointer to [[PXV:IUIX_RenderContext|IUIX_RenderContext]].
;''pItem''
+
;pItem
 
:[in]  Pointer to [[PXV:IUIX_CmdItem|IUIX_CmdItem]].
 
:[in]  Pointer to [[PXV:IUIX_CmdItem|IUIX_CmdItem]].
;''pIconRect''
+
;pIconRect
 
:[in]  Pointer to RECT.
 
:[in]  Pointer to RECT.
;''pClip''
+
;pClip
 
:[in]  Pointer to RECT.
 
:[in]  Pointer to RECT.
  

Revision as of 05:36, 23 April 2015


The method of interface of PDF-XChange Editor SDK.

Syntax

HRESULT OnDrawItemIcon([in]  IUIX_RenderContext*  pRC,
                       [in]  IUIX_CmdItem*        pItem,
                       [in]  RECT*                pIconRect,
                       [in]  RECT*                pClip);

Parameters

pRC
[in] Pointer to IUIX_RenderContext.
pItem
[in] Pointer to IUIX_CmdItem.
pIconRect
[in] Pointer to RECT.
pClip
[in] Pointer to RECT.

Return Value

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

See Also

See also IUIX_CmdHandler.