IUIX_RenderContext::DrawStringAndCache Method
From PDF XChange PDF SDK
m (Automatic page editing by robot) |
m (Automatic page editing by robot) |
||
(6 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | __NOTOC__ | ||
[[Category:Editor]] | [[Category:Editor]] | ||
{{#customTitle:IUIX_RenderContext::DrawStringAndCache Method}} | {{#customTitle:IUIX_RenderContext::DrawStringAndCache Method}} | ||
+ | {{#parentPage:PXV:IUIX_RenderContext#Methods|DrawStringAndCache|method}} | ||
+ | {{ToWrite}} | ||
+ | {{ToReview}} | ||
The method of interface of PDF-XChange Editor SDK. | The method of interface of PDF-XChange Editor SDK. | ||
== Syntax == | == Syntax == | ||
− | <pre class="brush:cpp;gutter:false">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** | + | <pre class="brush:cpp;gutter:false">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);</pre> | ||
== Parameters == | == Parameters == | ||
− | ; | + | ;pString |
:[in] Value of LPWSTR. | :[in] Value of LPWSTR. | ||
− | ; | + | ;nLength |
:[in] Value of LONG. | :[in] Value of LONG. | ||
− | ; | + | ;pRect |
:[in, out] Pointer to RECT. | :[in, out] Pointer to RECT. | ||
− | ; | + | ;pFont |
:[in] Pointer to [[PXV:IUIX_Font|IUIX_Font]]. | :[in] Pointer to [[PXV:IUIX_Font|IUIX_Font]]. | ||
− | ; | + | ;nColor |
:[in] Value of LONG. | :[in] Value of LONG. | ||
− | ; | + | ;nFlags |
:[in] Value of LONG. | :[in] Value of LONG. | ||
− | ; | + | ;pClipRect |
:[in] Pointer to RECT. | :[in] Pointer to RECT. | ||
− | ; | + | ;pTagColors |
:[in, defaultvalue(NULL)] Pointer to [[PXV:IUIX_ColorsTable|IUIX_ColorsTable]]. | :[in, defaultvalue(NULL)] Pointer to [[PXV:IUIX_ColorsTable|IUIX_ColorsTable]]. | ||
− | ; | + | ;pTagsOut |
:[in, defaultvalue(NULL)] Pointer to [[PXV:IUIX_DrawStringTags|IUIX_DrawStringTags]]. | :[in, defaultvalue(NULL)] Pointer to [[PXV:IUIX_DrawStringTags|IUIX_DrawStringTags]]. | ||
− | ; | + | ;pCache |
:[out, retval] Pointer to [[PXV:IUIX_DrawStringCache|IUIX_DrawStringCache]]. | :[out, retval] Pointer to [[PXV:IUIX_DrawStringCache|IUIX_DrawStringCache]]. | ||
Line 33: | Line 46: | ||
== See Also == | == See Also == | ||
− | + | [[PXV:IUIX_RenderContext|IUIX_RenderContext]] |
Latest revision as of 04:37, 15 June 2015
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.