Visual Basic (Declaration) | |
---|---|
Public Property Models As SheetView.DocumentModels |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As SheetView Dim value As SheetView.DocumentModels instance.Models = value value = instance.Models |
C# | |
---|---|
public SheetView.DocumentModels Models {get; set;} |
Property Value
DocumentModels object containing all the models for the sheetException | Description |
---|---|
System.ArgumentNullException | Model object is not specified (or specified object is null) |
System.ArgumentNullException | Model.ColumnAxis object is not specified (or specified object is null) |
System.ArgumentNullException | Model.ColumnHeaderData object is not specified (or specified object is null) |
System.ArgumentNullException | Model.ColumnHeaderRowAxis object is not specified (or specified object is null) |
System.ArgumentNullException | Models.ColumnHeaderSpan object is not specified (or specified object is null) |
System.ArgumentNullException | Model.ColumnHeaderStyle object is not specified (or specified object is null) |
System.ArgumentNullException | Model.Data object is not specified (or specified object is null) |
System.ArgumentNullException | Model.RowAxis object is not specified (or specified object is null) |
System.ArgumentNullException | Model.RowHeaderColumnAxis object is not specified (or specified object is null) |
System.ArgumentNullException | Model.RowHeaderData object is not specified (or specified object is null) |
System.ArgumentNullException | Model.RowHeaderSpan object is not specified (or specified object is null) |
System.ArgumentNullException | Model.RowHeaderStyle object is not specified (or specified object is null) |
System.ArgumentNullException | Model.Selection object is not specified (or specified object is null) |
System.ArgumentNullException | Model.Span object is not specified (or specified object is null) |
System.ArgumentNullException | Model.Style object is not specified (or specified object is null) |
This property is available at run time only.
This example creates a span in the sheet based on the SpanModel contained in the Models of the SheetView.
C# | Copy Code |
---|---|
fpSpread1.ActiveSheet.Models.Span.Add(0, 0, 2, 2); |
Visual Basic | Copy Code |
---|---|
FpSpread1.ActiveSheet.Models.Span.Add(0, 0, 2, 2) |
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2