IUIX_ListCallbacks::List_OnGetItemTextSize Method
From PDF XChange PDF SDK
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.