IUIX_CmdHandler::OnGetCtlSizes Method
From PDF XChange PDF SDK
m (Automatic page editing by robot) |
|||
(One intermediate revision by one other user not shown) | |||
Line 3: | Line 3: | ||
{{#customTitle:IUIX_CmdHandler::OnGetCtlSizes Method}} | {{#customTitle:IUIX_CmdHandler::OnGetCtlSizes Method}} | ||
{{#parentPage:PXV:IUIX_CmdHandler#Methods|OnGetCtlSizes|method}} | {{#parentPage:PXV:IUIX_CmdHandler#Methods|OnGetCtlSizes|method}} | ||
− | |||
{{ToReview}} | {{ToReview}} | ||
− | + | 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* | + | [in, out] SIZE* nSize, |
− | [in, out] SIZE* | + | [in, out] SIZE* nMinSize, |
− | [in, out] SIZE* | + | [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. |
− | ; | + | ;nSize |
− | :[in, out] Pointer to SIZE. | + | :[in, out] Pointer to SIZE containing the current item object's size. |
− | ; | + | ;nMinSize |
− | :[in, out] Pointer to SIZE. | + | :[in, out] Pointer to SIZE containing the minimal item object's size. |
− | ; | + | ;nMaxSize |
− | :[in, out] Pointer to SIZE. | + | :[in, out] Pointer to SIZE containing the maximal item object's size. |
== Return Value == | == Return Value == |
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.