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)
 
(3 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#Methods|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.
  

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