Spread Windows Forms 17
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread.Chart Namespace / ChartShape Class / SizeRegion Method / 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


In This Topic
    SizeRegion(Single,Single,Single,Single) Method
    In This Topic
    Resizes the region.
    Syntax
    'Declaration
     
    
    Protected Overloads Overrides Sub SizeRegion( _
       ByVal newWidth As Single, _
       ByVal newHeight As Single, _
       ByVal oldWidth As Single, _
       ByVal oldHeight As Single _
    ) 
    'Usage
     
    
    Dim instance As ChartShape
    Dim newWidth As Single
    Dim newHeight As Single
    Dim oldWidth As Single
    Dim oldHeight As Single
     
    instance.SizeRegion(newWidth, newHeight, oldWidth, oldHeight)
    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
    See Also