IUIX_TreeCallbacks::Tree_OnGetItemTextSize Method

From PDF XChange PDF SDK
Jump to: navigation, search


The method of interface of PDF-XChange Editor SDK.

Syntax

HRESULT Tree_OnGetItemTextSize([in]   IUIX_Tree*      pTree,
                               [in]   IUIX_TreeItem*  pItem,
                               [in]   LPWSTR          pText,
                               [in]   LONG            nTextLen,
                               [in]   IUIX_Font*      pFont,
                               [in]   LONG            nDrawTextFlags,
                               [in]   LONG            nAvailTextWidth,
                               [out]  SIZE*           pTextSize);

Parameters

pTree
[in] Pointer to IUIX_Tree.
pItem
[in] Pointer to IUIX_TreeItem.
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

IUIX_TreeCallbacks