StiTableHelperV2 Class
Namespace: Stimulsoft.Report.Design
Constructors
| Constructor | Description |
|---|---|
| StiTableHelperV2(IStiDesignerBase designer, bool altKeyMode) |
StiTableHelperV2(designer: IStiDesignerBase, altKeyMode: bool)
Parameters
- designer (IStiDesignerBase)
- altKeyMode (bool)
Properties
| Property | Type | Description |
|---|---|---|
| SelectedCell | IStiTableCell | |
| SelectedTable | StiTable |
Methods
| Method | Returns | Description |
|---|---|---|
| Dispose | void | |
GetDistForResize static |
double | |
GetSelectedRectangle static (+4 overloads) |
RectangleD | |
IsAllowUseInTableMode static |
bool | |
| ProcessResizeCell | void | |
| ProcessResizeTable | void | |
| ResizeCell | void | |
| ResizeColumns | bool | |
| ResizeRows | bool | |
| RestoreComponentLocation | void | |
| RestoreComponentsLocation (+1 overloads) | void | |
| SaveComponentsLocation | void | |
| SaveCursorLocation | void | |
| SaveSelectedRectangle | void |
Method Details
Dispose
Dispose(): void
GetDistForResize static
GetDistForResize(comp: StiComponent): double
Parameters
- comp (StiComponent)
Returns double
GetSelectedRectangle static
GetSelectedRectangle(designer: IStiDesignerBase): RectangleD
Parameters
- designer (IStiDesignerBase)
Returns RectangleD
GetSelectedRectangle(designer: IStiDesignerBase, isPaintRect: bool): RectangleD
Parameters
- designer (IStiDesignerBase)
- isPaintRect (bool)
Returns RectangleD
GetSelectedRectangle(designer: IStiDesignerBase, isPaintRect: bool, useZoom: bool): RectangleD
Parameters
- designer (IStiDesignerBase)
- isPaintRect (bool)
- useZoom (bool)
Returns RectangleD
GetSelectedRectangle(designer: IStiDesignerBase, isPaintRect: bool, comps: StiComponentsCollection): RectangleD
Parameters
- designer (IStiDesignerBase)
- isPaintRect (bool)
- comps (StiComponentsCollection)
Returns RectangleD
GetSelectedRectangle(designer: IStiDesignerBase, isPaintRect: bool, useZoom: bool, comps: StiComponentsCollection): RectangleD
Parameters
- designer (IStiDesignerBase)
- isPaintRect (bool)
- useZoom (bool)
- comps (StiComponentsCollection)
Returns RectangleD
IsAllowUseInTableMode static
IsAllowUseInTableMode(comp: StiComponent): bool
Parameters
- comp (StiComponent)
Returns bool
ProcessResizeCell
ProcessResizeCell(): void
ProcessResizeTable
ProcessResizeTable(resizeHorizontally: bool, resizeVertically: bool): void
Parameters
- resizeHorizontally (bool)
- resizeVertically (bool)
ResizeCell
ResizeCell(offsetX: double, offsetY: double): void
Parameters
- offsetX (double)
- offsetY (double)
ResizeColumns
ResizeColumns(baseCell: StiComponent, lineX: double, offset: double, action: StiAction, changedComponentList: Dictionary<StiComponent, RectangleD>): bool
Parameters
- baseCell (StiComponent)
- lineX (double)
- offset (double)
- action (StiAction)
- changedComponentList (Dictionary<StiComponent, RectangleD>)
Returns bool
ResizeRows
ResizeRows(baseCell: StiComponent, lineY: double, offset: double, action: StiAction, changedComponentList: Dictionary<StiComponent, RectangleD>): bool
Parameters
- baseCell (StiComponent)
- lineY (double)
- offset (double)
- action (StiAction)
- changedComponentList (Dictionary<StiComponent, RectangleD>)
Returns bool
RestoreComponentLocation
RestoreComponentLocation(comp: StiComponent): void
Parameters
- comp (StiComponent)
RestoreComponentsLocation
RestoreComponentsLocation(): void
RestoreComponentsLocation(table: StiTable): void
Parameters
- table (StiTable)
SaveComponentsLocation
SaveComponentsLocation(table: StiTable): void
Parameters
- table (StiTable)
SaveCursorLocation
SaveCursorLocation(eX: int, eY: int): void
Parameters
- eX (int)
- eY (int)
SaveSelectedRectangle
SaveSelectedRectangle(): void
Fields
| Field | Type | Description |
|---|---|---|
| IsAnySelected | bool | |
| IsSelectedCell | bool | |
| IsSelectedTable | bool |