IUIX_Icon::GetOptimalItem Method

From PDF XChange PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
m (Automatic page editing by robot)
 
Line 9: Line 9:
  
 
== Syntax ==
 
== Syntax ==
<pre class="brush:cpp;gutter:false">HRESULT GetOptimalItem([in]          SIZE*  Size,
+
<pre class="brush:cpp;gutter:false">HRESULT GetOptimalItem([in]          SIZE*  nSize,
                       [in]          LONG  ScaleType,
+
                       [in]          LONG  nScaleType,
                       [out]          SIZE*  OptSize,
+
                       [out]          SIZE*  nOptSize,
                       [out, retval]  LONG*  ItemIndex);</pre>
+
                       [out, retval]  LONG*  nItemIndex);</pre>
  
 
== Parameters ==
 
== Parameters ==
;Size
+
;nSize
 
:[in]  Pointer to SIZE.
 
:[in]  Pointer to SIZE.
;ScaleType
+
;nScaleType
 
:[in]  Value of LONG.
 
:[in]  Value of LONG.
;OptSize
+
;nOptSize
 
:[out]  Pointer to SIZE.
 
:[out]  Pointer to SIZE.
;ItemIndex
+
;nItemIndex
 
:[out, retval]  Pointer to LONG.
 
:[out, retval]  Pointer to LONG.
  

Latest revision as of 04:22, 15 June 2015


The method of interface of PDF-XChange Editor SDK.

Syntax

HRESULT GetOptimalItem([in]           SIZE*  nSize,
                       [in]           LONG   nScaleType,
                       [out]          SIZE*  nOptSize,
                       [out, retval]  LONG*  nItemIndex);

Parameters

nSize
[in] Pointer to SIZE.
nScaleType
[in] Value of LONG.
nOptSize
[out] Pointer to SIZE.
nItemIndex
[out, retval] Pointer to LONG.

Return Value

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

See Also

IUIX_Icon