Spread Windows Forms 12.0 Product Documentation
SizeRegion(Int32,Int32,Int32,Int32) Method


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread.DrawingSpace Namespace > PSObject Class > SizeRegion Method : SizeRegion(Int32,Int32,Int32,Int32) 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 Integer, _
   ByVal newHeight As Integer, _
   ByVal oldWidth As Integer, _
   ByVal oldHeight As Integer _
) 
'Usage
 
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)
protected virtual void SizeRegion( 
   int newWidth,
   int newHeight,
   int oldWidth,
   int 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
See Also

Reference

PSObject Class
PSObject Members
Overload List