IUIX_ListCallbacks::List_OnGetItemTextSize Method

From PDF XChange PDF SDK
Jump to: navigation, search


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