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)
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
__NOTOC__
 
[[Category:Editor]]
 
[[Category:Editor]]
 
{{#customTitle:IUIX_Icon::GetOptimalItem Method}}
 
{{#customTitle:IUIX_Icon::GetOptimalItem Method}}
 +
{{#parentPage:PXV:IUIX_Icon#Methods|GetOptimalItem|method}}
 +
{{ToWrite}}
 +
{{ToReview}}
  
 
The method of interface of PDF-XChange Editor SDK.
 
The method of interface of PDF-XChange Editor SDK.
  
 
== 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* nSize,
 +
                      [in]           LONG   nScaleType,
 +
                      [out]         SIZE* nOptSize,
 +
                      [out, retval] LONG* nItemIndex);</pre>
  
 
== Parameters ==
 
== Parameters ==
;''pSize''
+
;nSize
 
:[in]  Pointer to SIZE.
 
:[in]  Pointer to SIZE.
;''nScaleType''
+
;nScaleType
 
:[in]  Value of LONG.
 
:[in]  Value of LONG.
;''pOptSize''
+
;nOptSize
 
:[out]  Pointer to SIZE.
 
:[out]  Pointer to SIZE.
;''pItemIndex''
+
;nItemIndex
 
:[out, retval]  Pointer to LONG.
 
:[out, retval]  Pointer to LONG.
  
Line 21: Line 28:
  
 
== See Also ==
 
== See Also ==
See also [[PXV:IUIX_Icon|IUIX_Icon]].
+
[[PXV:IUIX_Icon|IUIX_Icon]]

Latest revision as of 03: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