IUIX_InfoBtn::GetIdealSize Method

From PDF XChange PDF SDK
Revision as of 05:42, 23 May 2015 by Dsbot (Talk | contribs) (Automatic page editing by robot)

Jump to: navigation, search


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

Syntax

HRESULT GetIdealSize([in]           SIZE*  pAvailSize,
                     [out, retval]  SIZE*  pIdealSize);

Parameters

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

Return Value

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

See Also

IUIX_InfoBtn