Gets or sets if the red text color is used for negative values.
Syntax
Visual Basic (Declaration) | |
---|
Public Overridable Property NegativeRed As Boolean |
Visual Basic (Usage) | Copy Code |
---|
Dim instance As GeneralCellType
Dim value As Boolean
instance.NegativeRed = value
value = instance.NegativeRed |
C# | |
---|
public virtual bool NegativeRed {get; set;} |
Example
This example sets the NegativeRed property.
C# | Copy Code |
---|
FarPoint.Web.Spread.GeneralCellType test = new FarPoint.Web.Spread.GeneralCellType();
test.NegativeRed = true;
FpSpread1.Sheets[0].Cells[0, 0].CellType = test; |
Visual Basic | Copy Code |
---|
Dim test As New FarPoint.Web.Spread.GeneralCellType
test.NegativeRed = True
FpSpread1.Sheets(0).Cells(0, 0).CellType = test |
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