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


scaleX
Factor by which to scale the object in the horizontal dimension
scaleY
Factor by which to scale the object in the vertical dimension
repaint
Whether to re-draw the object

Glossary Item Box

Adjusts the size of the object by the specified amount.

Syntax

Visual Basic (Declaration) 
Public Overloads Overridable Sub Scale( _
   ByVal scaleX As Single, _
   ByVal scaleY As Single, _
   ByVal repaint As Boolean _
) 
Visual Basic (Usage)Copy Code
Dim instance As PSObject
Dim scaleX As Single
Dim scaleY As Single
Dim repaint As Boolean
 
instance.Scale(scaleX, scaleY, repaint)
C# 
public virtual void Scale( 
   float scaleX,
   float scaleY,
   bool repaint
)

Parameters

scaleX
Factor by which to scale the object in the horizontal dimension
scaleY
Factor by which to scale the object in the vertical dimension
repaint
Whether to re-draw the object

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.