IUIX_RenderContext::DrawStringAndCache Method
From PDF XChange PDF SDK
The method of interface of PDF-XChange Editor SDK.
Syntax
HRESULT DrawStringAndCache([in] LPWSTR pString,
[in] LONG nLength,
[in, out] RECT* pRect,
[in] IUIX_Font* pFont,
[in] LONG nColor,
[in] LONG nFlags,
[in] RECT* pClipRect,
[in, defaultvalue(NULL)] IUIX_ColorsTable* pTagColors,
[in, defaultvalue(NULL)] IUIX_DrawStringTags* pTagsOut,
[out, retval] IUIX_DrawStringCache** pCache);
Parameters
- pString
- [in] Value of LPWSTR.
- nLength
- [in] Value of LONG.
- pRect
- [in, out] Pointer to RECT.
- pFont
- [in] Pointer to IUIX_Font.
- nColor
- [in] Value of LONG.
- nFlags
- [in] Value of LONG.
- pClipRect
- [in] Pointer to RECT.
- pTagColors
- [in, defaultvalue(NULL)] Pointer to IUIX_ColorsTable.
- pTagsOut
- [in, defaultvalue(NULL)] Pointer to IUIX_DrawStringTags.
- pCache
- [out, retval] Pointer to IUIX_DrawStringCache.
Return Value
Returns S_OK if operation was successful or error code in other cases.