Skip to main content Skip to complementary content
Close announcements banner

SetBounds Method

Overloads

SetBounds(ISheetCell, Rect)

Set bounds for the object on the sheet

SetBounds(ISheetCell, Int32, Int32, Int32, Int32)

Set bounds for the object on the sheet

SetBounds(ISheetCell, Rect)

Set bounds for the object on the sheet

Declaration

      public static void SetBounds(this ISheetCell source, Rect rect)
    

Parameters

Type Name Description
ISheetCell source

The cell

Rect rect

Rect, size for the object on the sheet

SetBounds(ISheetCell, Int32, Int32, Int32, Int32)

Set bounds for the object on the sheet

Declaration

      public static void SetBounds(this ISheetCell source, int col, int row, int width, int height)
    

Parameters

Type Name Description
ISheetCell source

The cell

System.Int32 col

Column

System.Int32 row

Row

System.Int32 width

Width

System.Int32 height

Height

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!