| Visual Basic (Declaration) | |
|---|---|
Public Property DefaultStyleName As String | |
| Visual Basic (Usage) | Copy Code |
|---|---|
| |
| C# | |
|---|---|
public string DefaultStyleName {get; set;} | |
Return Value
String containing the name of the default style| Exception | Description |
|---|---|
| ArgumentException | Specified NamedStyle object could not be found in the collection |
This example sets the background color and text color for the sheet based on the style information provided.
| C# | Copy Code |
|---|---|
string s; | |
| Visual Basic | Copy Code |
|---|---|
Dim s As String | |
Reference
SheetView ClassSheetView Members