IUIX_Dialog::GetItemsBoundRect Method

From PDF XChange PDF SDK
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