BCGSoft.Shared Namespace > GlobalUtils Class : AlignRectToRect Method |
'Declaration Public Shared Function AlignRectToRect( _ ByVal rectTarget As Rectangle, _ ByVal rectOrg As Rectangle, _ ByVal dock As DockStyle, _ ByVal limitSize As Size _ ) As Rectangle
'Usage Dim rectTarget As Rectangle Dim rectOrg As Rectangle Dim dock As DockStyle Dim limitSize As Size Dim value As Rectangle value = GlobalUtils.AlignRectToRect(rectTarget, rectOrg, dock, limitSize)
public static Rectangle AlignRectToRect( Rectangle rectTarget, Rectangle rectOrg, DockStyle dock, Size limitSize )
Target Platforms: Windows 7, 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