'Declaration Public Sub SetSizes( _ ByVal sizes() As System.Integer _ )
public void SetSizes( System.int[] sizes )
Parameters
- sizes
- A vector containing the new sizes for each band in the collection.
'Declaration Public Sub SetSizes( _ ByVal sizes() As System.Integer _ )
public void SetSizes( System.int[] sizes )
You can set the size of a Band object by setting its Band.Size property. However, this will cause other bands to resize immediately, so the collection always fills the client area of the C1Sizer control.
This method allows you to set the size of multiple bands simultaneously, with a single call.
Any negative dimensions in the sizes array will be ignored, and the corresponding bands will retain their current dimension.