IUIX_CmdHandler::OnGetCtlSizes Method
From PDF XChange PDF SDK
m (Automatic page editing by robot) |
|||
(3 intermediate revisions by one other user not shown) | |||
Line 2: | Line 2: | ||
[[Category:Editor]] | [[Category:Editor]] | ||
{{#customTitle:IUIX_CmdHandler::OnGetCtlSizes Method}} | {{#customTitle:IUIX_CmdHandler::OnGetCtlSizes Method}} | ||
− | {{#parentPage:PXV:IUIX_CmdHandler#Methods|OnGetCtlSizes | + | {{#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 == | ||
Line 28: | Line 27: | ||
== See Also == | == See Also == | ||
− | [[PXV:IUIX_CmdHandler|IUIX_CmdHandler]] | + | [[PXV:IUIX_CmdHandler|IUIX_CmdHandler]] |
Latest revision as of 01: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.