NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

ISelectionUIHandler.GetComponentBounds

Retrieves the shape of the component. The component's shape should be in absolute coordinates and in pixels, where 0,0 is the upper left corner of the screen.

[Visual Basic]
Function GetComponentBounds( _
   ByVal component As Object _
) As Rectangle
[C#]
Rectangle GetComponentBounds(
   object component
);
[C++]
Rectangle GetComponentBounds(
   Object* component
) = 0;
[JScript]
function GetComponentBounds(
   component : Object
) : Rectangle;

Parameters

component
The component to get the bounds for.

Return Value

The components shape, in screen coordinates, or null if the component has no shape.

See Also

ISelectionUIHandler Interface | ISelectionUIHandler Members | System.WinForms.Design Namespace