Class WorksheetActiveXControlCollection
Represents the worksheet active xcontrol collection class used by the spreadsheet model.
Inherited Members
Namespace: DRIT.Spreadsheet.Forms
Assembly: DRIT.Spreadsheet.dll
Syntax
public class WorksheetActiveXControlCollection : ActiveXControlCollection, IEnumerable<ActiveXControl>, IEnumerable
Constructors
WorksheetActiveXControlCollection(Worksheet)
Initializes a new WorksheetActiveXControlCollection for the supplied workbook data.
Declaration
public WorksheetActiveXControlCollection(Worksheet worksheet)
Parameters
| Type | Name | Description |
|---|---|---|
| Worksheet | worksheet |
Methods
Add<TC>(string, string, string)
Adds the supplied item to WorksheetActiveXControlCollection.
Declaration
public TC Add<TC>(string name, string anchorCellAddress, string imagePath) where TC : ActiveXControl
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | The name used by the operation. |
| string | anchorCellAddress | The anchor cell address used by the operation. |
| string | imagePath | The image path used by the operation. |
Returns
| Type | Description |
|---|---|
| TC | The add returned by the operation. |
Type Parameters
| Name | Description |
|---|---|
| TC |