IUIX_Obj::CalcStringSize Method
From PDF XChange PDF SDK
The method of interface of PDF-XChange Editor SDK.
Syntax
HRESULT CalcStringSize([in] LPWSTR pString, [in] LONG nLength, [in] IUIX_Font* pFont, [in, out] SIZE* pSize, [in, defaultvalue(0)] LONG nFlags);
Parameters
- pString
- [in] Value of LPWSTR.
- nLength
- [in] Value of LONG.
- pFont
- [in] Pointer to IUIX_Font.
- pSize
- [in, out] Pointer to SIZE.
- nFlags
- [in, defaultvalue(0)] Value of LONG.
Return Value
Returns S_OK if operation was successful or error code in other cases.