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*  nSize,
+
<pre class="brush:cpp;gutter:false">HRESULT GetOptimalItem([in]          SIZE*  Size,
                       [in]          LONG  nScaleType,
+
                       [in]          LONG  ScaleType,
                       [out]          SIZE*  nOptSize,
+
                       [out]          SIZE*  OptSize,
                       [out, retval]  LONG*  nItemIndex);</pre>
+
                       [out, retval]  LONG*  ItemIndex);</pre>
  
 
== Parameters ==
 
== Parameters ==
;nSize
+
;Size
 
:[in]  Pointer to SIZE.
 
:[in]  Pointer to SIZE.
;nScaleType
+
;ScaleType
 
:[in]  Value of LONG.
 
:[in]  Value of LONG.
;nOptSize
+
;OptSize
 
:[out]  Pointer to SIZE.
 
:[out]  Pointer to SIZE.
;nItemIndex
+
;ItemIndex
 
:[out, retval]  Pointer to LONG.
 
:[out, retval]  Pointer to LONG.
  

Revision as of 06:50, 12 June 2015


The method of interface of PDF-XChange Editor SDK.

Syntax

HRESULT GetOptimalItem([in]           SIZE*  Size,
                       [in]           LONG   ScaleType,
                       [out]          SIZE*  OptSize,
                       [out, retval]  LONG*  ItemIndex);

Parameters

Size
[in] Pointer to SIZE.
ScaleType
[in] Value of LONG.
OptSize
[out] Pointer to SIZE.
ItemIndex
[out, retval] Pointer to LONG.

Return Value

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

See Also

IUIX_Icon