IUIX_RenderContext::DrawString Method
From PDF XChange PDF SDK
The method of interface of PDF-XChange Editor SDK.
Syntax
HRESULT DrawString([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);
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.
Return Value
Returns S_OK if operation was successful or error code in other cases.