IUIX_ListCallbacks::List_OnGetItemTextSize Method
From PDF XChange PDF SDK
m (Automatic page editing by robot) |
m (Automatic page editing by robot) |
||
Line 1: | Line 1: | ||
[[Category:Editor]] | [[Category:Editor]] | ||
{{#customTitle:IUIX_ListCallbacks::List_OnGetItemTextSize Method}} | {{#customTitle:IUIX_ListCallbacks::List_OnGetItemTextSize Method}} | ||
− | {{#parentPage:PXV:IUIX_ListCallbacks|method}} | + | {{#parentPage:PXV:IUIX_ListCallbacks|List_OnGetItemTextSize Method|method}} |
{{ToWrite}} | {{ToWrite}} | ||
{{ToReview}} | {{ToReview}} | ||
Line 8: | Line 8: | ||
== Syntax == | == Syntax == | ||
− | <pre class="brush:cpp;gutter:false">HRESULT List_OnGetItemTextSize([in] IUIX_List* pList, [in] UIX_ListItemID* pItem, [in] LPWSTR pText, [in] LONG nTextLen, [in] IUIX_Font* pFont, [in] LONG nDrawTextFlags, [in] LONG nAvailTextWidth, [out] SIZE* pTextSize);</pre> | + | <pre class="brush:cpp;gutter:false">HRESULT List_OnGetItemTextSize([in] IUIX_List* pList, |
+ | [in] UIX_ListItemID* pItem, | ||
+ | [in] LPWSTR pText, | ||
+ | [in] LONG nTextLen, | ||
+ | [in] IUIX_Font* pFont, | ||
+ | [in] LONG nDrawTextFlags, | ||
+ | [in] LONG nAvailTextWidth, | ||
+ | [out] SIZE* pTextSize);</pre> | ||
== Parameters == | == Parameters == | ||
− | ; | + | ;pList |
:[in] Pointer to [[PXV:IUIX_List|IUIX_List]]. | :[in] Pointer to [[PXV:IUIX_List|IUIX_List]]. | ||
− | ; | + | ;pItem |
:[in] Pointer to [[PXV:UIX_ListItemID|UIX_ListItemID]]. | :[in] Pointer to [[PXV:UIX_ListItemID|UIX_ListItemID]]. | ||
− | ; | + | ;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]]. | ||
− | ; | + | ;nDrawTextFlags |
:[in] Value of LONG. | :[in] Value of LONG. | ||
− | ; | + | ;nAvailTextWidth |
:[in] Value of LONG. | :[in] Value of LONG. | ||
− | ; | + | ;pTextSize |
:[out] Pointer to SIZE. | :[out] Pointer to SIZE. | ||
Revision as of 06:48, 23 April 2015
The method of interface of PDF-XChange Editor SDK.
Contents
Syntax
HRESULT List_OnGetItemTextSize([in] IUIX_List* pList, [in] UIX_ListItemID* pItem, [in] LPWSTR pText, [in] LONG nTextLen, [in] IUIX_Font* pFont, [in] LONG nDrawTextFlags, [in] LONG nAvailTextWidth, [out] SIZE* pTextSize);
Parameters
- pList
- [in] Pointer to IUIX_List.
- pItem
- [in] Pointer to UIX_ListItemID.
- pText
- [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.
- pTextSize
- [out] Pointer to SIZE.
Return Value
Returns S_OK if operation was successful or error code in other cases.
See Also
See also IUIX_ListCallbacks.