IUIX_Dialog::GetItemsBoundRect Method

From PDF XChange PDF SDK
Revision as of 04:18, 15 June 2015 by Dsbot (Talk | contribs) (Automatic page editing by robot)

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 operation was successful or error code in other cases.

See Also

IUIX_Dialog