| Visual Basic (Declaration) | |
|---|---|
Protected Overloads Overridable Sub SizeRegion( _ ByVal newWidth As Integer, _ ByVal newHeight As Integer, _ ByVal oldWidth As Integer, _ ByVal oldHeight As Integer _ )  | |
| Visual Basic (Usage) |  Copy Code | 
|---|---|
Dim instance As PSObject Dim newWidth As Integer Dim newHeight As Integer Dim oldWidth As Integer Dim oldHeight As Integer instance.SizeRegion(newWidth, newHeight, oldWidth, oldHeight)  | |
Parameters
- newWidth
 - New width value in pixels
 - newHeight
 - New height value in pixels
 - oldWidth
 - Old width value in pixels
 - oldHeight
 - Old height value in pixels
 
Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8