IUIX_Dialog::GetItemsBoundRect Method

From Tracker Software PDF SDK
Revision as of 14:15, 15 June 2015 by Johnv (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


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 the operation was successful, or will return an error code if it fails.

See Also

IUIX_Dialog