SizeRegion(Int32,Int32,Int32,Int32) Method
In This Topic
Resizes the region.
Syntax
'Declaration
Protected Overloads Overridable Sub SizeRegion( _
ByVal As Integer, _
ByVal As Integer, _
ByVal As Integer, _
ByVal As Integer _
)
'Usage
Dim instance As BannerShape
Dim newWidth As Integer
Dim newHeight As Integer
Dim oldWidth As Integer
Dim oldHeight As Integer
instance.SizeRegion(newWidth, newHeight, oldWidth, oldHeight)
protected virtual void SizeRegion(
int ,
int ,
int ,
int
)
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