[]
        
(Showing Draft Content)

FarPoint.Win.Spread.Chart.SpreadChart.SetBounds

SetBounds Method

SetBounds(int, int, int, int)

Sets the bounds of the object to the specified position and size.

Declaration
public override void SetBounds(int x, int y, int width, int height)
Public Overrides Sub SetBounds(x As Integer, y As Integer, width As Integer, height As Integer)
Parameters
Type Name Description
int x

X-coordinate for bounding rectangle's top-left corner

int y

Y-coordinate for bounding rectangle's top-left corner

int width

Width of bounding rectangle in pixels

int height

Height of bounding rectangle in pixels

Overrides

SetBounds(Rectangle)

Sets the bounds of the element to the location and size of the specified bounding rectangle object (with integer values).

Declaration
public override void SetBounds(Rectangle rectInput)
Public Overrides Sub SetBounds(rectInput As Rectangle)
Parameters
Type Name Description
Rectangle rectInput

Rectangle object that contains the bounding rectangle in integer dimensions

Overrides

SetBounds(RectangleF)

Sets the bounds of the element to the location and size of the specified bounding rectangle object (with floating-point values).

Declaration
public override void SetBounds(RectangleF rectInput)
Public Overrides Sub SetBounds(rectInput As RectangleF)
Parameters
Type Name Description
RectangleF rectInput

Rectangle object that contains the bounding rectangle in floating-point dimensions

Overrides