IUIX_CmdHandler::OnDrawItemIcon Method
From PDF XChange PDF SDK
Draws icon of the command item in the given rectangle.
Syntax
HRESULT OnDrawItemIcon([in] IUIX_RenderContext* pRC, [in] IUIX_CmdItem* pItem, [in] RECT* stIconRect, [in] RECT* stClip);
Parameters
- pRC
- [in] Pointer to IUIX_RenderContext containing the render context by which the icon should be drawn.
- pItem
- [in] Pointer to IUIX_CmdItem containing the command item which icon should be drawn.
- stIconRect
- [in] Pointer to RECT containing the icon rectangle.
- stClip
- [in] Pointer to RECT containing the icon rectangle clip.
Return Value
Returns S_OK if operation was successful or error code in other cases.