IPXC_ContentCreator::CalcTextSize Method
From PDF XChange PDF SDK
m (Automatic page editing by robot) |
m (Automatic page editing by robot) |
||
Line 2: | Line 2: | ||
[[Category:Editor]] | [[Category:Editor]] | ||
{{#customTitle:IPXC_ContentCreator::CalcTextSize Method}} | {{#customTitle:IPXC_ContentCreator::CalcTextSize Method}} | ||
− | {{#parentPage:PXV:IPXC_ContentCreator#Methods|CalcTextSize | + | {{#parentPage:PXV:IPXC_ContentCreator#Methods|CalcTextSize|method}} |
{{ToWrite}} | {{ToWrite}} | ||
{{ToReview}} | {{ToReview}} |
Revision as of 07:17, 23 May 2015
The method of interface of PDF-XChange Editor SDK.
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.