IUIX_Dialog::GetItemsBoundRect Method
From PDF XChange PDF SDK
m (Automatic page editing by robot) |
m (Automatic page editing by robot) |
||
Line 9: | Line 9: | ||
== Syntax == | == Syntax == | ||
<pre class="brush:cpp;gutter:false">HRESULT GetItemsBoundRect([in, defaultvalue(-1)] VARIANT_BOOL bSkipHidden, | <pre class="brush:cpp;gutter:false">HRESULT GetItemsBoundRect([in, defaultvalue(-1)] VARIANT_BOOL bSkipHidden, | ||
− | [out, retval] RECT* | + | [out, retval] RECT* stBoundRect);</pre> |
== Parameters == | == Parameters == | ||
;bSkipHidden | ;bSkipHidden | ||
:[in, defaultvalue(-1)] if set to <code>VARIANT_TRUE</code>, hidden items will not be counted when calculating bounding rectangle. | :[in, defaultvalue(-1)] if set to <code>VARIANT_TRUE</code>, hidden items will not be counted when calculating bounding rectangle. | ||
− | ; | + | ;stBoundRect |
:[out, retval] result <code>RECT</code> value in dialog coordinate system. | :[out, retval] result <code>RECT</code> value in dialog coordinate system. | ||
Revision as of 04:18, 15 June 2015
Returns the smallest rectangle that contains all dialog items.
Syntax
HRESULT GetItemsBoundRect([in, defaultvalue(-1)] VARIANT_BOOL bSkipHidden, [out, retval] RECT* stBoundRect);
Parameters
- bSkipHidden
- [in, defaultvalue(-1)] if set to
VARIANT_TRUE
, hidden items will not be counted when calculating bounding rectangle. - stBoundRect
- [out, retval] result
RECT
value in dialog coordinate system.
Return Value
Returns S_OK if operation was successful or error code in other cases.