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
[Obsolete("Use GenericObject.Properties to modify sheet definition.")]
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
[Obsolete("Use GenericObject.Properties to modify sheet definition.")]
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 |