Gets or sets the encode value for a column.
Syntax
Visual Basic (Declaration) | |
---|
Public Property EncodeValue As Boolean |
Visual Basic (Usage) | Copy Code |
---|
Dim instance As Column
Dim value As Boolean
instance.EncodeValue = value
value = instance.EncodeValue |
C# | |
---|
public bool EncodeValue {get; set;} |
Remarks
Example
This example sets the EncodeValue property.
C# | Copy Code |
---|
FpSpread1.Sheets[0].RowCount = 4;
FpSpread1.Sheets[0].Cells[1, 1].EncodeValue = false;
FpSpread1.Sheets[0].Cells[1, 1].Value = "Hello<B>World</B>";
FpSpread1.Sheets[0].Rows[2].EncodeValue = false;
FpSpread1.Sheets[0].Cells[2, 1].Value = "<a href='http://www.gcpowertools.com'>www.gcpowertools.com</a>";
FpSpread1.Sheets[0].Columns[2].EncodeValue = false;
FpSpread1.Sheets[0].Cells[3, 2].Value = "Break here<BR>to anew line"; |
VB.NET | Copy Code |
---|
FpSpread1.Sheets(0).RowCount = 4
FpSpread1.Sheets(0).Cells(1, 1).EncodeValue = False
FpSpread1.Sheets(0).Cells(1, 1).Value = "Hello<B>World</B>"
FpSpread1.Sheets(0).Rows(2).EncodeValue = False
FpSpread1.Sheets(0).Cells(2, 1).Value = "<a href='http://www.gcpowertools.com'>www.gcpowertools.com</a>"
FpSpread1.Sheets(0).Columns(2).EncodeValue = False
FpSpread1.Sheets(0).Cells(3, 2).Value = "Break here<BR>to anew line" |
Requirements
Target Platforms: Windows 7, Windows 8, Windows Vista, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6
See Also