IUIX_InfoBtn::GetIdealSize Method

From PDF XChange PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
m (Automatic page editing by robot)
Line 5: Line 5:
 
{{ToReview}}
 
{{ToReview}}
  
Calculates [[PXV:IUIX_InfoBtn|info button]] ''ideal size'' that will fit value, given in '''pAvailSize''' variable.
+
Calculates [[PXV:IUIX_InfoBtn|info button]] ''ideal size'' that will fit value, given in '''nAvailSize''' variable.
  
 
== Syntax ==
 
== Syntax ==
<pre class="brush:cpp;gutter:false">HRESULT GetIdealSize([in]          SIZE*  pAvailSize,
+
<pre class="brush:cpp;gutter:false">HRESULT GetIdealSize([in]          SIZE*  nAvailSize,
                     [out, retval]  SIZE*  pIdealSize);</pre>
+
                     [out, retval]  SIZE*  nIdealSize);</pre>
  
 
== Parameters ==
 
== Parameters ==
;pAvailSize
+
;nAvailSize
 
:[in]  value of available size, based on which an ideal info button size will be calculated.  
 
:[in]  value of available size, based on which an ideal info button size will be calculated.  
;pIdealSize
+
;nIdealSize
:[out, retval]  value of ideal info button size, calculated to fit the value of ''pAvailSize''.
+
:[out, retval]  value of ideal info button size, calculated to fit the value of ''nAvailSize''.
  
 
== Return Value ==
 
== Return Value ==

Revision as of 04:23, 15 June 2015


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

Syntax

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

Parameters

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

Return Value

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

See Also

IUIX_InfoBtn