IUIX_InfoBtn::GetIdealSize Method

From PDF XChange PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
Line 2: Line 2:
 
{{#customTitle:IUIX_InfoBtn::GetIdealSize Method}}
 
{{#customTitle:IUIX_InfoBtn::GetIdealSize Method}}
 
{{#parentPage:PXV:IUIX_InfoBtn|GetIdealSize Method|method}}
 
{{#parentPage:PXV:IUIX_InfoBtn|GetIdealSize Method|method}}
{{ToWrite}}
 
 
{{ToReview}}
 
{{ToReview}}
  
The method of interface of PDF-XChange Editor SDK.
+
Calculates [[PXV:IUIX_InfoBtn|info button]] ideal size that will fit value, given in '''pAvailSize''' variable.
  
 
== Syntax ==
 
== Syntax ==
Line 13: Line 12:
 
== Parameters ==
 
== Parameters ==
 
;pAvailSize
 
;pAvailSize
:[in]  Pointer to SIZE.
+
:[in]  value of available size, based on which an ideal info button size will be calculated.  
 
;pIdealSize
 
;pIdealSize
:[out, retval]  Pointer to SIZE.
+
:[out, retval]  value of ideal info button size, calculated to fit the value of ''pAvailSize''.
  
 
== Return Value ==
 
== Return Value ==

Revision as of 08:17, 14 May 2015


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

See also IUIX_InfoBtn.