XlsWorksheetBase Methods |
The XlsWorksheetBase type exposes the following members.
Name | Description | |
---|---|---|
![]() |
Activate |
Makes the current sheet the active sheet. Equivalent to clicking the
sheet's tab in MS Excel.
|
![]() |
AddReference |
Increase the quantity of reference. User must use this method when
new wrapper on object is created or reference on object stored.
(Inherited from
XlsObject
.)
|
![]() |
AddTextEffectShape |
Adds a text effect shape to the worksheet.
|
![]() |
CheckDisposed |
Checks whether object was disposed and throws exception if it was.
(Inherited from
XlsObject
.)
|
![]() |
ClearCellImageCache |
Clear Cell image array cache,not delete CellImage in cell.
|
![]() |
Clone |
Obsolete.
Creates copy of the current object.
|
![]() |
Dispose |
Dispose object and free resources.
(Inherited from
XlsObject
.)
|
![]() |
Equals |
Determines whether the specified object is equal to the current object.
(Inherited from
Object
.)
|
![]() |
Finalize |
Destructor. Call dispose method of current object.
(Inherited from
XlsObject
.)
|
![]() |
FindParent(Type) |
This method is used to find parent with specific type.
(Inherited from
XlsObject
.)
|
![]() |
FindParent( Type ) |
Find parent of object.
(Inherited from
XlsObject
.)
|
![]() |
FindParent(Type, Boolean) |
This method is used to find parent with specific type.
(Inherited from
XlsObject
.)
|
![]() |
FindParents |
Finds parent objects.
(Inherited from
XlsObject
.)
|
![]() |
GetHashCode |
Serves as the default hash function.
(Inherited from
Object
.)
|
![]() |
GetType |
Gets the
Type
of the current instance.
(Inherited from
Object
.)
|
![]() |
InitializeCollections |
Initializes all required collections.
|
![]() |
MemberwiseClone |
Creates a shallow copy of the current
Object
.
(Inherited from
Object
.)
|
![]() |
MoveSheet |
Moves sheet into new position, including chartsheet and worksheet.
|
![]() |
OnDispose |
Method which can be overriden by users to take any specific actions when
object is disposed.
(Inherited from
XlsObject
.)
|
![]() ![]() |
Protect(String) |
Protects worksheet with password.protect the sheet except select lock/unlock cells.
![]()
The following code illustrates how to protect the sheet except select lock/unlock cells:
<para>//Create worksheet</para><para>Workbook workbook = new Workbook();</para><para>Worksheet worksheet = workbook.Worksheets[0];</para><para>//Protects the first worksheet's content with password</para><para>worksheet.Protect("123456");</para><para>//Save to file</para><para>workbook.SaveToFile("Protect.xlsx");</para>
|
![]() |
Protect(String, SheetProtectionType) |
Protects worksheet with password.
|
![]() |
ReleaseReference |
Decrease quantity of Reference. User must call this method
when freeing resources.
(Inherited from
XlsObject
.)
|
![]() |
Select |
Selects current tab sheet.
|
![]() |
SelectTab |
Adds sheet tab to the selected tab.
|
![]() |
SetChanged |
This method should be called after any changes in the worksheet.
Sets Saved property of the parent workbook to false.
|
![]() |
SetParent |
Sets parent of the object.
(Inherited from
XlsObject
.)
|
![]() |
ToString |
Returns a string that represents the current object.
(Inherited from
Object
.)
|
![]() |
Unprotect |
Unprotects this wokrsheet.
|
![]() |
Unprotect(String) |
Unprotects this worksheet using specified password.
|
![]() |
Unselect |
Unselects current tab sheet if possible.
|
![]() |
Unselect(Boolean) |
Unselects current tab sheet if possible.
|