Spread Windows Forms 10.0 Product Documentation
SizeRegion(Single,Single,Single,Single) Method


New width value in pixels
New height value in pixels
Old width value in pixels
Old height value in pixels
Resizes the specified region.
Syntax
'Declaration
 
Protected Overloads Overridable Sub SizeRegion( _
   ByVal newWidth As Single, _
   ByVal newHeight As Single, _
   ByVal oldWidth As Single, _
   ByVal oldHeight As Single _
) 
'Usage
 
Dim instance As PSObject
Dim newWidth As Single
Dim newHeight As Single
Dim oldWidth As Single
Dim oldHeight As Single
 
instance.SizeRegion(newWidth, newHeight, oldWidth, oldHeight)
protected virtual void SizeRegion( 
   float newWidth,
   float newHeight,
   float oldWidth,
   float 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
Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows Server 2012 R2, Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8, Windows 8.1, Windows 10

See Also

Reference

PSObject Class
PSObject Members
Overload List

 

 


Copyright © GrapeCity, inc. All rights reserved.