IUIX_CmdItem::GetRect Method
From PDF XChange PDF SDK
m (Automatic page editing by robot) |
|||
(6 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
+ | __NOTOC__ | ||
[[Category:Editor]] | [[Category:Editor]] | ||
{{#customTitle:IUIX_CmdItem::GetRect Method}} | {{#customTitle:IUIX_CmdItem::GetRect Method}} | ||
− | {{#parentPage:PXV:IUIX_CmdItem|method | + | {{#parentPage:PXV:IUIX_CmdItem#Methods|GetRect|method}} |
− | + | ||
{{ToReview}} | {{ToReview}} | ||
− | + | Gets needed rectangle from the [[PXV:IUIX_CmdItemBox|item's box]]. | |
== Syntax == | == Syntax == | ||
− | <pre class="brush:cpp;gutter:false">HRESULT GetRect(LONG nRectIndex, [out, retval] RECT* | + | <pre class="brush:cpp;gutter:false">HRESULT GetRect( LONG nRectIndex, |
+ | [out, retval] RECT* stRect);</pre> | ||
== Parameters == | == Parameters == | ||
− | ; | + | ;nRectIndex |
− | : Value of LONG. | + | : Value of LONG containing the [[PXV:UIX_CmdItemRectIndex|rectangle type]]. |
− | ; | + | ;stRect |
− | :[out, retval] Pointer to RECT. | + | :[out, retval] Pointer to RECT containing the resulting rectangle. |
== Return Value == | == Return Value == | ||
Line 20: | Line 21: | ||
== See Also == | == See Also == | ||
− | + | [[PXV:IUIX_CmdItem|IUIX_CmdItem]] |
Latest revision as of 07:44, 23 March 2016
Gets needed rectangle from the 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.