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)
 
(5 intermediate revisions by the same user not shown)
Line 2: Line 2:
 
[[Category:Editor]]
 
[[Category:Editor]]
 
{{#customTitle:IUIX_Icon::GetOptimalItem Method}}
 
{{#customTitle:IUIX_Icon::GetOptimalItem Method}}
{{#parentPage:PXV:IUIX_Icon|GetOptimalItem Method|method}}
+
{{#parentPage:PXV:IUIX_Icon#Methods|GetOptimalItem|method}}
 
{{ToWrite}}
 
{{ToWrite}}
 
{{ToReview}}
 
{{ToReview}}
Line 9: Line 9:
  
 
== Syntax ==
 
== Syntax ==
<pre class="brush:cpp;gutter:false">HRESULT GetOptimalItem([in]          SIZE*  pSize,
+
<pre class="brush:cpp;gutter:false">HRESULT GetOptimalItem([in]          SIZE*  nSize,
 
                       [in]          LONG  nScaleType,
 
                       [in]          LONG  nScaleType,
                       [out]          SIZE*  pOptSize,
+
                       [out]          SIZE*  nOptSize,
                       [out, retval]  LONG*  pItemIndex);</pre>
+
                       [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 28: Line 28:
  
 
== 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