IUIX_CmdItemBox::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_CmdItemBox::GetRect Method}}
 
{{#customTitle:IUIX_CmdItemBox::GetRect Method}}
{{#parentPage:PXV:IUIX_CmdItemBox|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, [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_CmdItemBox|IUIX_CmdItemBox]].
+
[[PXV:IUIX_CmdItemBox|IUIX_CmdItemBox]]

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