IUIX_Icon::GetOptimalItem Method

From PDF XChange PDF SDK
Jump to: navigation, search
(Automatic page editing by robot)
 
m (Automatic page editing by robot)
Line 5: Line 5:
  
 
== Syntax ==
 
== Syntax ==
<pre class="brush:cpp;gutter:false">HRESULT GetOptimalItem([in] SIZE* pSize, [in, optional] LONG nScaleType, [out, optional] SIZE* pOptSize, [out, retval] LONG* pItemIndex);</pre>
+
<pre class="brush:cpp;gutter:false">HRESULT GetOptimalItem([in] SIZE* pSize, [in] LONG nScaleType, [out] SIZE* pOptSize, [out, retval] LONG* pItemIndex);</pre>
  
 
== Parameters ==
 
== Parameters ==
Line 11: Line 11:
 
:[in]  Pointer to SIZE.
 
:[in]  Pointer to SIZE.
 
;''nScaleType''
 
;''nScaleType''
:[in, optional]  Value of LONG.
+
:[in]  Value of LONG.
 
;''pOptSize''
 
;''pOptSize''
:[out, optional]  Pointer to SIZE.
+
:[out]  Pointer to SIZE.
 
;''pItemIndex''
 
;''pItemIndex''
 
:[out, retval]  Pointer to LONG.
 
:[out, retval]  Pointer to LONG.

Revision as of 12:33, 24 March 2015

The method of interface of PDF-XChange Editor SDK.

Syntax

HRESULT GetOptimalItem([in] SIZE* pSize, [in] LONG nScaleType, [out] SIZE* pOptSize, [out, retval] LONG* pItemIndex);

Parameters

pSize
[in] Pointer to SIZE.
nScaleType
[in] Value of LONG.
pOptSize
[out] Pointer to SIZE.
pItemIndex
[out, retval] Pointer to LONG.

Return Value

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

See Also

See also IUIX_Icon.