IUIX_IndexNavigatorCallbacks::IndexNav_OnGetItemTextWidth Method
From PDF XChange PDF SDK
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.