Version

GetSmartBounds Method (ISmartPlaceable)

Gets the bounds of the current object if it were placed at the specified position.
Syntax
'Declaration
 
Function GetSmartBounds( _
   ByVal position As SmartPosition _
) As Rect
Rect GetSmartBounds( 
   SmartPosition position
)

Parameters

position
Smart position for bounds.

Return Value

Bounds for the current object
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also