IUIX_CmdItemBox::GetRect Method

From PDF XChange PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
 
(2 intermediate revisions by one other user not shown)
Line 2: Line 2:
 
[[Category:Editor]]
 
[[Category:Editor]]
 
{{#customTitle:IUIX_CmdItemBox::GetRect Method}}
 
{{#customTitle:IUIX_CmdItemBox::GetRect Method}}
{{#parentPage:PXV:IUIX_CmdItemBox#Methods|GetRect Method|method}}
+
{{#parentPage:PXV:IUIX_CmdItemBox#Methods|GetRect|method}}
{{ToWrite}}
+
 
{{ToReview}}
 
{{ToReview}}
  
The method of interface of PDF-XChange Editor SDK.
+
Gets needed rectangle from the [[PXV:IUIX_CmdItemBox|command item's box]].
  
 
== Syntax ==
 
== Syntax ==
 
<pre class="brush:cpp;gutter:false">HRESULT GetRect(              LONG  nRectIndex,
 
<pre class="brush:cpp;gutter:false">HRESULT GetRect(              LONG  nRectIndex,
                 [out, retval]  RECT*  pRect);</pre>
+
                 [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 ==

Latest revision as of 08: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.

See Also

IUIX_CmdItemBox