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 1: Line 1:
 
[[Category:Editor]]
 
[[Category:Editor]]
 
{{#customTitle:IUIX_Icon::GetOptimalItem Method}}
 
{{#customTitle:IUIX_Icon::GetOptimalItem Method}}
{{#parentPage:PXV:IUIX_Icon|method}}
+
{{#parentPage:PXV:IUIX_Icon|GetOptimalItem Method|method}}
 
{{ToWrite}}
 
{{ToWrite}}
 
{{ToReview}}
 
{{ToReview}}
Line 8: Line 8:
  
 
== Syntax ==
 
== Syntax ==
<pre class="brush:cpp;gutter:false">HRESULT GetOptimalItem([in] SIZE* pSize, [in] LONG nScaleType, [out] 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 ==
;''pSize''
+
;pSize
 
:[in]  Pointer to SIZE.
 
:[in]  Pointer to SIZE.
;''nScaleType''
+
;nScaleType
 
:[in]  Value of LONG.
 
:[in]  Value of LONG.
;''pOptSize''
+
;pOptSize
 
:[out]  Pointer to SIZE.
 
:[out]  Pointer to SIZE.
;''pItemIndex''
+
;pItemIndex
 
:[out, retval]  Pointer to LONG.
 
:[out, retval]  Pointer to LONG.
  

Revision as of 05:43, 23 April 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.