IPXC_ContentCreator::ShowTextBlock Method
From PDF XChange PDF SDK
The method of interface of PDF-XChange Editor SDK.
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.