IUIX_IndexNavigatorCallbacks::IndexNav_OnGetItemTextWidth Method

From PDF XChange PDF SDK
Revision as of 05:33, 3 August 2020 by Dsbot (Talk | contribs) (Automatic page editing by robot)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


The method of interface of PDF-XChange Editor SDK.

Syntax

HRESULT IndexNav_OnGetItemTextWidth([in]   IUIX_IndexNavigator*  pIndexNav,
                                    [in]   LONG                  nIndex,
                                    [in]   LPWSTR                sText,
                                    [in]   LONG                  nTextLen,
                                    [in]   IUIX_Font*            pFont,
                                    [out]  LONG*                 nTextWidth);

Parameters

pIndexNav
[in] Pointer to IUIX_IndexNavigator.
nIndex
[in] Value of LONG.
sText
[in] Value of LPWSTR.
nTextLen
[in] Value of LONG.
pFont
[in] Pointer to IUIX_Font.
nTextWidth
[out] Pointer to LONG.

Return Value

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

See Also

IUIX_IndexNavigatorCallbacks