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:  callback.ShellBoost.Core.WindowsShell
Assembly:  callback.CBFSShell (in callback.CBFSShell.dll) Version: 22.0.0.0
Syntax
C#
public int GetItemRect(
	Item item,
	out RECT rect,
	bool throwOnError = true
)

Parameters

item
Type: callback.ShellBoost.Core.WindowsShellItem
The item.
rect
Type: callback.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