[]
        
(Showing Draft Content)

FarPoint.Win.Spread.DrawingSpace.PSObject.SizeRegion

SizeRegion Method

SizeRegion(int, int, int, int)

Resizes the region.

Declaration
protected virtual void SizeRegion(int newWidth, int newHeight, int oldWidth, int oldHeight)
Protected Overridable Sub SizeRegion(newWidth As Integer, newHeight As Integer, oldWidth As Integer, oldHeight As Integer)
Parameters
Type Name Description
int newWidth

New width value in pixels

int newHeight

New height value in pixels

int oldWidth

Old width value in pixels

int oldHeight

Old height value in pixels

SizeRegion(float, float, float, float)

Resizes the region.

Declaration
protected virtual void SizeRegion(float newWidth, float newHeight, float oldWidth, float oldHeight)
Protected Overridable Sub SizeRegion(newWidth As Single, newHeight As Single, oldWidth As Single, oldHeight As Single)
Parameters
Type Name Description
float newWidth

New width value in pixels

float newHeight

New height value in pixels

float oldWidth

Old width value in pixels

float oldHeight

Old height value in pixels