IUIX_InfoBtn::GetIdealSize Method

From Tracker Software PDF SDK
Revision as of 16:22, 15 June 2015 by Johnv (Talk | contribs)

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

Calculates info button ideal size that will fit value, given in nAvailSize variable.


HRESULT GetIdealSize([in]           SIZE*  nAvailSize,
                     [out, retval]  SIZE*  nIdealSize);


[in] value of available size, based on which an ideal info button size will be calculated.
[out, retval] value of ideal info button size, calculated to fit the value of nAvailSize.

Return Value

Returns S_OK if the operation was successful, or will return an error code if it fails.

See Also