Spread Windows Forms 6.0 Product Documentation
SizeRegion(Single,Single,Single,Single) Method
See Also  Support Options
FarPoint.Win.Spread Assembly > FarPoint.Win.Spread.DrawingSpace Namespace > LineShape Class > SizeRegion Method : SizeRegion(Single,Single,Single,Single) 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 region.

Syntax

Visual Basic (Declaration) 
Protected Overloads Overrides Sub SizeRegion( _
   ByVal newWidth As Single, _
   ByVal newHeight As Single, _
   ByVal oldWidth As Single, _
   ByVal oldHeight As Single _
) 
Visual Basic (Usage)Copy Code
Dim instance As LineShape
Dim newWidth As Single
Dim newHeight As Single
Dim oldWidth As Single
Dim oldHeight As Single
 
instance.SizeRegion(newWidth, newHeight, oldWidth, oldHeight)
C# 
protected override 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 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.