IUIX_CmdItemBox::GetRect Method
From PDF XChange PDF SDK
m (Automatic page editing by robot) |
|||
Line 3: | Line 3: | ||
{{#customTitle:IUIX_CmdItemBox::GetRect Method}} | {{#customTitle:IUIX_CmdItemBox::GetRect Method}} | ||
{{#parentPage:PXV:IUIX_CmdItemBox#Methods|GetRect|method}} | {{#parentPage:PXV:IUIX_CmdItemBox#Methods|GetRect|method}} | ||
− | |||
{{ToReview}} | {{ToReview}} | ||
− | + | Gets needed rectangle from the [[PXV:IUIX_CmdItemBox|command item's box]]. | |
== Syntax == | == Syntax == | ||
Line 14: | Line 13: | ||
== Parameters == | == Parameters == | ||
;nRectIndex | ;nRectIndex | ||
− | : Value of LONG. | + | : Value of LONG containing the [[PXV:UIX_CmdItemRectIndex|rectangle type]]. |
;stRect | ;stRect | ||
− | :[out, retval] Pointer to RECT. | + | :[out, retval] Pointer to RECT containing the resulting rectangle. |
== Return Value == | == Return Value == |
Latest revision as of 07:05, 24 March 2016
Gets needed rectangle from the command item's box.
Syntax
HRESULT GetRect( LONG nRectIndex, [out, retval] RECT* stRect);
Parameters
- nRectIndex
- Value of LONG containing the rectangle type.
- stRect
- [out, retval] Pointer to RECT containing the resulting rectangle.
Return Value
Returns S_OK if operation was successful or error code in other cases.