IPXC_ContentCreator::CalcTextSize Method

From PDF XChange PDF SDK
Revision as of 06:13, 20 March 2015 by Dsbot (Talk | contribs) (Automatic page editing by robot)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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, optional] 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, optional] Value of LONG.

Return Value

Returns S_OK if operation was successful or error code in other cases.

See Also

See also IPXC_ContentCreator.