IUIX_ListCallbacks::List_OnDrawItemText 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_ListCallbacks::List_OnDrawItemText Method}}
 
{{#customTitle:IUIX_ListCallbacks::List_OnDrawItemText Method}}
{{#parentPage:PXV:IUIX_ListCallbacks|method}}
+
{{#parentPage:PXV:IUIX_ListCallbacks|List_OnDrawItemText Method|method}}
 
{{ToWrite}}
 
{{ToWrite}}
 
{{ToReview}}
 
{{ToReview}}
Line 8: Line 8:
  
 
== Syntax ==
 
== Syntax ==
<pre class="brush:cpp;gutter:false">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);</pre>
+
<pre class="brush:cpp;gutter:false">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);</pre>
  
 
== Parameters ==
 
== Parameters ==
;''pList''
+
;pList
 
:[in]  Pointer to [[PXV:IUIX_List|IUIX_List]].
 
:[in]  Pointer to [[PXV:IUIX_List|IUIX_List]].
;''pRC''
+
;pRC
 
:[in]  Pointer to [[PXV:IUIX_RenderContext|IUIX_RenderContext]].
 
:[in]  Pointer to [[PXV:IUIX_RenderContext|IUIX_RenderContext]].
;''pItemID''
+
;pItemID
 
:[in]  Pointer to [[PXV:UIX_ListItemID|UIX_ListItemID]].
 
:[in]  Pointer to [[PXV:UIX_ListItemID|UIX_ListItemID]].
;''pText''
+
;pText
 
:[in]  Value of LPWSTR.
 
:[in]  Value of LPWSTR.
;''nTextLen''
+
;nTextLen
 
:[in]  Value of LONG.
 
:[in]  Value of LONG.
;''pFont''
+
;pFont
 
:[in]  Pointer to [[PXV:IUIX_Font|IUIX_Font]].
 
:[in]  Pointer to [[PXV:IUIX_Font|IUIX_Font]].
;''nTextColor''
+
;nTextColor
 
:[in]  Value of LONG.
 
:[in]  Value of LONG.
;''nDrawTextFlags''
+
;nDrawTextFlags
 
:[in]  Value of LONG.
 
:[in]  Value of LONG.
;''pTextRect''
+
;pTextRect
 
:[in]  Pointer to RECT.
 
:[in]  Pointer to RECT.
;''pClip''
+
;pClip
 
:[in]  Pointer to RECT.
 
:[in]  Pointer to RECT.
  

Revision as of 05:48, 23 April 2015


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.

See Also

See also IUIX_ListCallbacks.