IUIX_TreeCallbacks::Tree_OnDrawItemText Method
From PDF XChange PDF SDK
The method of interface of PDF-XChange Editor SDK.
Syntax
HRESULT Tree_OnDrawItemText([in] IUIX_Tree* pTree, [in] IUIX_RenderContext* pRC, [in] IUIX_TreeItem* pItem, [in] LPWSTR pText, [in] LONG nTextLen, [in] IUIX_Font* pFont, [in] LONG nColor, [in] LONG nDrawTextFlags, [in] RECT* pTextRect, [in] RECT* pClip);
Parameters
- pTree
- [in] Pointer to IUIX_Tree.
- pRC
- [in] Pointer to IUIX_RenderContext.
- pItem
- [in] Pointer to IUIX_TreeItem.
- pText
- [in] Value of LPWSTR.
- nTextLen
- [in] Value of LONG.
- pFont
- [in] Pointer to IUIX_Font.
- nColor
- [in] Value of LONG.
- nDrawTextFlags
- [in] Value of LONG.
- pTextRect
- [in] Pointer to RECT.
- pClip
- [in] Pointer to RECT.
Return Value
Returns S_OK if operation was successful or error code in other cases.