IUIX_CmdItem::GetRect Method

From PDF XChange PDF SDK
Jump to: navigation, search
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}}
{{ToWrite}}
+
 
{{ToReview}}
 
{{ToReview}}
  
The method of interface of PDF-XChange Editor SDK.
+
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* pRect);</pre>
+
<pre class="brush:cpp;gutter:false">HRESULT GetRect(               LONG   nRectIndex,
 +
                [out, retval] RECT* stRect);</pre>
  
 
== Parameters ==
 
== Parameters ==
;''nRectIndex''
+
;nRectIndex
: Value of LONG.
+
: Value of LONG containing the [[PXV:UIX_CmdItemRectIndex|rectangle type]].
;''pRect''
+
;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 ==
See also [[PXV:IUIX_CmdItem|IUIX_CmdItem]].
+
[[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.

See Also

IUIX_CmdItem