Spread Windows Forms 6.0 Product Documentation
SizeRegion(Int32,Int32,Int32,Int32) Method
See Also  Support Options
FarPoint.Win.Spread Assembly > FarPoint.Win.Spread.DrawingSpace Namespace > PSObject Class > SizeRegion Method : SizeRegion(Int32,Int32,Int32,Int32) Method


newWidth
New width value in pixels
newHeight
New height value in pixels
oldWidth
Old width value in pixels
oldHeight
Old height value in pixels

Glossary Item Box

Resizes the specified region.

Syntax

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)
C# 
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

Requirements

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

See Also

© 2002-2012 ComponentOne, a division of GrapeCity. All Rights Reserved.