IPXC_ContentCreator::CalcTextSize Method
From PDF XChange PDF SDK
(Automatic page editing by robot) |
m (Automatic page editing by robot) |
||
Line 5: | Line 5: | ||
== Syntax == | == Syntax == | ||
− | <pre class="brush:cpp;gutter:false">HRESULT CalcTextSize([in] double nFontSize, [in] LPWSTR pText, [out] double* pWidth, [out] double* pHeight, [in, | + | <pre class="brush:cpp;gutter:false">HRESULT CalcTextSize([in] double nFontSize, [in] LPWSTR pText, [out] double* pWidth, [out] double* pHeight, [in, defaultvalue(-1)] LONG nTextLen);</pre> |
== Parameters == | == Parameters == | ||
Line 17: | Line 17: | ||
:[out] Pointer to double. | :[out] Pointer to double. | ||
;''nTextLen'' | ;''nTextLen'' | ||
− | :[in, | + | :[in, defaultvalue(-1)] Value of LONG. |
== Return Value == | == Return Value == |
Revision as of 22:37, 16 April 2015
The method of interface of PDF-XChange Editor SDK.
Contents
Syntax
HRESULT CalcTextSize([in] double nFontSize, [in] LPWSTR pText, [out] double* pWidth, [out] double* pHeight, [in, defaultvalue(-1)] LONG nTextLen);
Parameters
- nFontSize
- [in] Value of double.
- pText
- [in] Value of LPWSTR.
- pWidth
- [out] Pointer to double.
- pHeight
- [out] Pointer to double.
- nTextLen
- [in, defaultvalue(-1)] Value of LONG.
Return Value
Returns S_OK if operation was successful or error code in other cases.
See Also
See also IPXC_ContentCreator.