IUIX_TreeCallbacks::Tree_OnDrawItemText Method
From PDF XChange PDF SDK
(Automatic page editing by robot) |
m (Automatic page editing by robot) |
||
(5 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | __NOTOC__ | ||
[[Category:Editor]] | [[Category:Editor]] | ||
{{#customTitle:IUIX_TreeCallbacks::Tree_OnDrawItemText Method}} | {{#customTitle:IUIX_TreeCallbacks::Tree_OnDrawItemText Method}} | ||
+ | {{#parentPage:PXV:IUIX_TreeCallbacks#Methods|Tree_OnDrawItemText|method}} | ||
+ | {{ToWrite}} | ||
+ | {{ToReview}} | ||
The method of interface of PDF-XChange Editor SDK. | The method of interface of PDF-XChange Editor SDK. | ||
== Syntax == | == Syntax == | ||
− | <pre class="brush:cpp;gutter:false">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);</pre> | + | <pre class="brush:cpp;gutter:false">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);</pre> | ||
== Parameters == | == Parameters == | ||
− | ; | + | ;pTree |
:[in] Pointer to [[PXV:IUIX_Tree|IUIX_Tree]]. | :[in] Pointer to [[PXV:IUIX_Tree|IUIX_Tree]]. | ||
− | ; | + | ;pRC |
:[in] Pointer to [[PXV:IUIX_RenderContext|IUIX_RenderContext]]. | :[in] Pointer to [[PXV:IUIX_RenderContext|IUIX_RenderContext]]. | ||
− | ; | + | ;pItem |
:[in] Pointer to [[PXV:IUIX_TreeItem|IUIX_TreeItem]]. | :[in] Pointer to [[PXV:IUIX_TreeItem|IUIX_TreeItem]]. | ||
− | ; | + | ;pText |
:[in] Value of LPWSTR. | :[in] Value of LPWSTR. | ||
− | ; | + | ;nTextLen |
:[in] Value of LONG. | :[in] Value of LONG. | ||
− | ; | + | ;pFont |
:[in] Pointer to [[PXV:IUIX_Font|IUIX_Font]]. | :[in] Pointer to [[PXV:IUIX_Font|IUIX_Font]]. | ||
− | ; | + | ;nColor |
:[in] Value of LONG. | :[in] Value of LONG. | ||
− | ; | + | ;nDrawTextFlags |
:[in] Value of LONG. | :[in] Value of LONG. | ||
− | ; | + | ;pTextRect |
:[in] Pointer to RECT. | :[in] Pointer to RECT. | ||
− | ; | + | ;pClip |
:[in] Pointer to RECT. | :[in] Pointer to RECT. | ||
Line 33: | Line 46: | ||
== See Also == | == See Also == | ||
− | + | [[PXV:IUIX_TreeCallbacks|IUIX_TreeCallbacks]] |
Latest revision as of 09:30, 23 May 2015
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.