IPXC_ContentCreator::ShowTextBlock Method
From PDF XChange PDF SDK
m (Automatic page editing by robot) |
m (Automatic page editing by robot) |
||
Line 1: | Line 1: | ||
[[Category:Editor]] | [[Category:Editor]] | ||
{{#customTitle:IPXC_ContentCreator::ShowTextBlock Method}} | {{#customTitle:IPXC_ContentCreator::ShowTextBlock Method}} | ||
− | {{#parentPage:PXV:IPXC_ContentCreator|method}} | + | {{#parentPage:PXV:IPXC_ContentCreator|ShowTextBlock Method|method}} |
{{ToWrite}} | {{ToWrite}} | ||
{{ToReview}} | {{ToReview}} | ||
Line 8: | Line 8: | ||
== Syntax == | == Syntax == | ||
− | <pre class="brush:cpp;gutter:false">HRESULT ShowTextBlock([in] LPWSTR pText, [in] PXC_Rect* pRect, [in] PXC_Rect* pClip, [in, defaultvalue(0)] ULONG nFlags, [in, defaultvalue(-1)] LONG nTextLen, [in, defaultvalue(NULL)] IPXC_CharFormat* pCharFmt, [in, defaultvalue(NULL)] IPXC_ParaFormat* pParaFmt, [in, defaultvalue(NULL)] IPXC_DrawTextCallbacks* pCallbacks, [out, defaultvalue(NULL)] PXC_Rect* pTextBounds);</pre> | + | <pre class="brush:cpp;gutter:false">HRESULT ShowTextBlock([in] LPWSTR pText, |
+ | [in] PXC_Rect* pRect, | ||
+ | [in] PXC_Rect* pClip, | ||
+ | [in, defaultvalue(0)] ULONG nFlags, | ||
+ | [in, defaultvalue(-1)] LONG nTextLen, | ||
+ | [in, defaultvalue(NULL)] IPXC_CharFormat* pCharFmt, | ||
+ | [in, defaultvalue(NULL)] IPXC_ParaFormat* pParaFmt, | ||
+ | [in, defaultvalue(NULL)] IPXC_DrawTextCallbacks* pCallbacks, | ||
+ | [out, defaultvalue(NULL)] PXC_Rect* pTextBounds);</pre> | ||
== Parameters == | == Parameters == | ||
− | ; | + | ;pText |
:[in] Value of LPWSTR. | :[in] Value of LPWSTR. | ||
− | ; | + | ;pRect |
:[in] Pointer to [[PXV:PXC_Rect|PXC_Rect]]. | :[in] Pointer to [[PXV:PXC_Rect|PXC_Rect]]. | ||
− | ; | + | ;pClip |
:[in] Pointer to [[PXV:PXC_Rect|PXC_Rect]]. | :[in] Pointer to [[PXV:PXC_Rect|PXC_Rect]]. | ||
− | ; | + | ;nFlags |
:[in, defaultvalue(0)] Value of ULONG. | :[in, defaultvalue(0)] Value of ULONG. | ||
− | ; | + | ;nTextLen |
:[in, defaultvalue(-1)] Value of LONG. | :[in, defaultvalue(-1)] Value of LONG. | ||
− | ; | + | ;pCharFmt |
:[in, defaultvalue(NULL)] Pointer to [[PXV:IPXC_CharFormat|IPXC_CharFormat]]. | :[in, defaultvalue(NULL)] Pointer to [[PXV:IPXC_CharFormat|IPXC_CharFormat]]. | ||
− | ; | + | ;pParaFmt |
:[in, defaultvalue(NULL)] Pointer to [[PXV:IPXC_ParaFormat|IPXC_ParaFormat]]. | :[in, defaultvalue(NULL)] Pointer to [[PXV:IPXC_ParaFormat|IPXC_ParaFormat]]. | ||
− | ; | + | ;pCallbacks |
:[in, defaultvalue(NULL)] Pointer to [[PXV:IPXC_DrawTextCallbacks|IPXC_DrawTextCallbacks]]. | :[in, defaultvalue(NULL)] Pointer to [[PXV:IPXC_DrawTextCallbacks|IPXC_DrawTextCallbacks]]. | ||
− | ; | + | ;pTextBounds |
:[out, defaultvalue(NULL)] Pointer to [[PXV:PXC_Rect|PXC_Rect]]. | :[out, defaultvalue(NULL)] Pointer to [[PXV:PXC_Rect|PXC_Rect]]. | ||
Revision as of 06:00, 23 April 2015
The method of interface of PDF-XChange Editor SDK.
Contents
Syntax
HRESULT ShowTextBlock([in] LPWSTR pText, [in] PXC_Rect* pRect, [in] PXC_Rect* pClip, [in, defaultvalue(0)] ULONG nFlags, [in, defaultvalue(-1)] LONG nTextLen, [in, defaultvalue(NULL)] IPXC_CharFormat* pCharFmt, [in, defaultvalue(NULL)] IPXC_ParaFormat* pParaFmt, [in, defaultvalue(NULL)] IPXC_DrawTextCallbacks* pCallbacks, [out, defaultvalue(NULL)] PXC_Rect* pTextBounds);
Parameters
- pText
- [in] Value of LPWSTR.
- pRect
- [in] Pointer to PXC_Rect.
- pClip
- [in] Pointer to PXC_Rect.
- nFlags
- [in, defaultvalue(0)] Value of ULONG.
- nTextLen
- [in, defaultvalue(-1)] Value of LONG.
- pCharFmt
- [in, defaultvalue(NULL)] Pointer to IPXC_CharFormat.
- pParaFmt
- [in, defaultvalue(NULL)] Pointer to IPXC_ParaFormat.
- pCallbacks
- [in, defaultvalue(NULL)] Pointer to IPXC_DrawTextCallbacks.
- pTextBounds
- [out, defaultvalue(NULL)] Pointer to PXC_Rect.
Return Value
Returns S_OK if operation was successful or error code in other cases.
See Also
See also IPXC_ContentCreator.