IUIX_ListCallbacks::List_OnDrawItemText Method
From PDF XChange PDF SDK
The method of interface of PDF-XChange Editor SDK.
Syntax
HRESULT List_OnDrawItemText([in] IUIX_List* pList, [in] IUIX_RenderContext* pRC, [in] UIX_ListItemID* pItemID, [in] LPWSTR pText, [in] LONG nTextLen, [in] IUIX_Font* pFont, [in] LONG nTextColor, [in] LONG nDrawTextFlags, [in] RECT* pTextRect, [in] RECT* pClip);
Parameters
- pList
- [in] Pointer to IUIX_List.
- pRC
- [in] Pointer to IUIX_RenderContext.
- pItemID
- [in] Pointer to UIX_ListItemID.
- pText
- [in] Value of LPWSTR.
- nTextLen
- [in] Value of LONG.
- pFont
- [in] Pointer to IUIX_Font.
- nTextColor
- [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.