IUIX_ListCallbacks::List_OnGetItemTextSize Method

From PDF XChange PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
m (Automatic page editing by robot)
 
(One intermediate revision by the same user not shown)
Line 2: Line 2:
 
[[Category:Editor]]
 
[[Category:Editor]]
 
{{#customTitle:IUIX_ListCallbacks::List_OnGetItemTextSize Method}}
 
{{#customTitle:IUIX_ListCallbacks::List_OnGetItemTextSize Method}}
{{#parentPage:PXV:IUIX_ListCallbacks#Methods|List_OnGetItemTextSize Method|method}}
+
{{#parentPage:PXV:IUIX_ListCallbacks#Methods|List_OnGetItemTextSize|method}}
 
{{ToWrite}}
 
{{ToWrite}}
 
{{ToReview}}
 
{{ToReview}}
Line 10: Line 10:
 
== Syntax ==
 
== Syntax ==
 
<pre class="brush:cpp;gutter:false">HRESULT List_OnGetItemTextSize([in]  IUIX_List*      pList,
 
<pre class="brush:cpp;gutter:false">HRESULT List_OnGetItemTextSize([in]  IUIX_List*      pList,
                               [in]  UIX_ListItemID*  pItem,
+
                               [in]  UIX_ListItemID*  stItem,
                               [in]  LPWSTR          pText,
+
                               [in]  LPWSTR          sText,
 
                               [in]  LONG            nTextLen,
 
                               [in]  LONG            nTextLen,
 
                               [in]  IUIX_Font*      pFont,
 
                               [in]  IUIX_Font*      pFont,
 
                               [in]  LONG            nDrawTextFlags,
 
                               [in]  LONG            nDrawTextFlags,
 
                               [in]  LONG            nAvailTextWidth,
 
                               [in]  LONG            nAvailTextWidth,
                               [out]  SIZE*            pTextSize);</pre>
+
                               [out]  SIZE*            nTextSize);</pre>
  
 
== Parameters ==
 
== Parameters ==
 
;pList
 
;pList
 
:[in]  Pointer to [[PXV:IUIX_List|IUIX_List]].
 
:[in]  Pointer to [[PXV:IUIX_List|IUIX_List]].
;pItem
+
;stItem
 
:[in]  Pointer to [[PXV:UIX_ListItemID|UIX_ListItemID]].
 
:[in]  Pointer to [[PXV:UIX_ListItemID|UIX_ListItemID]].
;pText
+
;sText
 
:[in]  Value of LPWSTR.
 
:[in]  Value of LPWSTR.
 
;nTextLen
 
;nTextLen
Line 33: Line 33:
 
;nAvailTextWidth
 
;nAvailTextWidth
 
:[in]  Value of LONG.
 
:[in]  Value of LONG.
;pTextSize
+
;nTextSize
 
:[out]  Pointer to SIZE.
 
:[out]  Pointer to SIZE.
  

Latest revision as of 04:29, 15 June 2015


The method of interface of PDF-XChange Editor SDK.

Syntax

HRESULT List_OnGetItemTextSize([in]   IUIX_List*       pList,
                               [in]   UIX_ListItemID*  stItem,
                               [in]   LPWSTR           sText,
                               [in]   LONG             nTextLen,
                               [in]   IUIX_Font*       pFont,
                               [in]   LONG             nDrawTextFlags,
                               [in]   LONG             nAvailTextWidth,
                               [out]  SIZE*            nTextSize);

Parameters

pList
[in] Pointer to IUIX_List.
stItem
[in] Pointer to UIX_ListItemID.
sText
[in] Value of LPWSTR.
nTextLen
[in] Value of LONG.
pFont
[in] Pointer to IUIX_Font.
nDrawTextFlags
[in] Value of LONG.
nAvailTextWidth
[in] Value of LONG.
nTextSize
[out] Pointer to SIZE.

Return Value

Returns S_OK if operation was successful or error code in other cases.

See Also

IUIX_ListCallbacks