Click or drag to resize

NamespaceTreeControlGetItemRect Method (Item, RECT, Boolean)

Gets the Rectangle structure that describes the size and position of a given item.

Namespace:  ShellBoost.Core.WindowsShell
Assembly:  ShellBoost.Core (in ShellBoost.Core.dll) Version: 1.8.3.0
Syntax
C#
public int GetItemRect(
	Item item,
	out RECT rect,
	bool throwOnError = true
)

Parameters

item
Type: ShellBoost.Core.WindowsShellItem
The item.
rect
Type: ShellBoost.Core.WindowsShellRECT
The Rectangle structure that describes the size and position of the item.
throwOnError (Optional)
Type: SystemBoolean
true to throw error; otherwise false.

Return Value

Type: Int32
An error number or 0.
Exceptions
ExceptionCondition
ArgumentNullExceptionitem is null.
See Also