IUIX_CmdHandler::OnGetCtlSizes Method

From PDF XChange PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
 
(5 intermediate revisions by one other user not shown)
Line 1: Line 1:
 +
__NOTOC__
 
[[Category:Editor]]
 
[[Category:Editor]]
 
{{#customTitle:IUIX_CmdHandler::OnGetCtlSizes Method}}
 
{{#customTitle:IUIX_CmdHandler::OnGetCtlSizes Method}}
{{#parentPage:PXV:IUIX_CmdHandler|OnGetCtlSizes Method|method}}
+
{{#parentPage:PXV:IUIX_CmdHandler#Methods|OnGetCtlSizes|method}}
{{ToWrite}}
+
 
{{ToReview}}
 
{{ToReview}}
  
The method of interface of PDF-XChange Editor SDK.
+
Gets size parameters of the given command item's [[PXV:IUIX_Obj|object]].
  
 
== 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]] containing the source command item.
;pSize
+
;nSize
:[in, out]  Pointer to SIZE.
+
:[in, out]  Pointer to SIZE containing the current item object's size.
;pMinSize
+
;nMinSize
:[in, out]  Pointer to SIZE.
+
:[in, out]  Pointer to SIZE containing the minimal item object's size.
;pMaxSize
+
;nMaxSize
:[in, out]  Pointer to SIZE.
+
:[in, out]  Pointer to SIZE containing the maximal item object's size.
  
 
== Return Value ==
 
== Return Value ==
Line 27: Line 27:
  
 
== See Also ==
 
== See Also ==
See also [[PXV:IUIX_CmdHandler|IUIX_CmdHandler]].
+
[[PXV:IUIX_CmdHandler|IUIX_CmdHandler]]

Latest revision as of 02:19, 4 April 2016


Gets size parameters of the given command item's object.

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 containing the source command item.
nSize
[in, out] Pointer to SIZE containing the current item object's size.
nMinSize
[in, out] Pointer to SIZE containing the minimal item object's size.
nMaxSize
[in, out] Pointer to SIZE containing the maximal item object's size.

Return Value

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

See Also

IUIX_CmdHandler