Gets or sets whether the DocumentModels for this sheet should be serialized to the form resources, rather than generating code that initializes the Cells, Columns, Rows, and AlternatingRows.
Syntax
Visual Basic (Declaration) | |
---|
Public Property SerializeModels As Boolean |
Visual Basic (Usage) | Copy Code |
---|
Dim instance As SheetView
Dim value As Boolean
instance.SerializeModels = value
value = instance.SerializeModels |
C# | |
---|
public bool SerializeModels {get; set;} |
Property Value
Boolean:
true to serialize modelsl;
false otherwise
Example
This example sets whether the DocumentModels for this sheet should be serialized to the form resources, rather than generating code that initializes the Cells, Columns, Rows, and AlternatingRows.
C# | Copy Code |
---|
fpSpread1.ActiveSheet.SerializeModels = true;
|
Visual Basic | Copy Code |
---|
FpSpread1.ActiveSheet.SerializeModels = True |
Requirements
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
See Also