IUIX_CmdHandler::OnGetCtlSizes Method

From PDF XChange PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
m (Automatic page editing by robot)
Line 10: Line 10:
 
== Syntax ==
 
== Syntax ==
 
<pre class="brush:cpp;gutter:false">HRESULT OnGetCtlSizes([in]      IUIX_CmdItem*  pItem,
 
<pre class="brush:cpp;gutter:false">HRESULT OnGetCtlSizes([in]      IUIX_CmdItem*  pItem,
                       [in, out]  SIZE*          pSize,
+
                       [in, out]  SIZE*          nSize,
                       [in, out]  SIZE*          pMinSize,
+
                       [in, out]  SIZE*          nMinSize,
                       [in, out]  SIZE*          pMaxSize);</pre>
+
                       [in, out]  SIZE*          nMaxSize);</pre>
  
 
== Parameters ==
 
== Parameters ==
 
;pItem
 
;pItem
 
:[in]  Pointer to [[PXV:IUIX_CmdItem|IUIX_CmdItem]].
 
:[in]  Pointer to [[PXV:IUIX_CmdItem|IUIX_CmdItem]].
;pSize
+
;nSize
 
:[in, out]  Pointer to SIZE.
 
:[in, out]  Pointer to SIZE.
;pMinSize
+
;nMinSize
 
:[in, out]  Pointer to SIZE.
 
:[in, out]  Pointer to SIZE.
;pMaxSize
+
;nMaxSize
 
:[in, out]  Pointer to SIZE.
 
:[in, out]  Pointer to SIZE.
  

Revision as of 04:13, 15 June 2015


The method of interface of PDF-XChange Editor SDK.

Syntax

HRESULT OnGetCtlSizes([in]       IUIX_CmdItem*  pItem,
                      [in, out]  SIZE*          nSize,
                      [in, out]  SIZE*          nMinSize,
                      [in, out]  SIZE*          nMaxSize);

Parameters

pItem
[in] Pointer to IUIX_CmdItem.
nSize
[in, out] Pointer to SIZE.
nMinSize
[in, out] Pointer to SIZE.
nMaxSize
[in, out] Pointer to SIZE.

Return Value

Returns S_OK if operation was successful or error code in other cases.

See Also

IUIX_CmdHandler