IUIX_Icon::GetOptimalItem Method

From PDF XChange PDF SDK
Jump to: navigation, search
(Automatic page editing by robot)
 
m (Automatic page editing by robot)
 
(9 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, optional] LONG nScaleType, [out, optional] 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, optional]  Value of LONG.
+
:[in]  Value of LONG.
;''pOptSize''
+
;nOptSize
:[out, optional]  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 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