[]
        
(Showing Draft Content)

FarPoint.Win.Spread.DrawingSpace.PSObject.SetBoundsFloat

SetBoundsFloat Method

SetBoundsFloat(float, float, float, float)

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

Declaration
protected override void SetBoundsFloat(float x, float y, float width, float height)
Protected Overrides Sub SetBoundsFloat(x As Single, y As Single, width As Single, height As Single)
Parameters
Type Name Description
float x

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

float y

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

float width

Width of bounding rectangle in pixels

float height

Height of bounding rectangle in pixels

Overrides

SetBoundsFloat(float, float, float, float, bool)

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

Declaration
protected virtual void SetBoundsFloat(float x, float y, float width, float height, bool adjustRegion)
Protected Overridable Sub SetBoundsFloat(x As Single, y As Single, width As Single, height As Single, adjustRegion As Boolean)
Parameters
Type Name Description
float x

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

float y

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

float width

Width of bounding rectangle in pixels

float height

Height of bounding rectangle in pixels

bool adjustRegion

Whether to adjust the region

SetBoundsFloat(float, float, float, float, bool, bool)

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

Declaration
protected virtual void SetBoundsFloat(float x, float y, float width, float height, bool adjustRegion, bool recursive)
Protected Overridable Sub SetBoundsFloat(x As Single, y As Single, width As Single, height As Single, adjustRegion As Boolean, recursive As Boolean)
Parameters
Type Name Description
float x

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

float y

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

float width

Width of bounding rectangle in pixels

float height

Height of bounding rectangle in pixels

bool adjustRegion

Whether to adjust the region

bool recursive

Whether to check recursively for each element