Gets or sets a value that specifies whether each sparkline in the sparkline group is displayed in a right-to-left manner.
Syntax
Visual Basic (Declaration) | |
---|
Public Property RightToLeft As Boolean |
Visual Basic (Usage) | Copy Code |
---|
Dim instance As ExcelSparklineSetting
Dim value As Boolean
instance.RightToLeft = value
value = instance.RightToLeft |
C# | |
---|
public bool RightToLeft {get; set;} |
Example
This example creates a sparkline in a cell.
C# | Copy Code |
---|
FarPoint.Web.Spread.ExcelSparklineSetting ex = new FarPoint.Web.Spread.ExcelSparklineSetting();
ex.RightToLeft = true;
fpSpread1.Sheets[0].RowCount = 10;
fpSpread1.Sheets[0].ColumnCount = 10;
fpSpread1.Sheets[0].Cells[1, 0].Value = 2;
fpSpread1.Sheets[0].Cells[1, 1].Value = 11;
fpSpread1.Sheets[0].Cells[1, 2].Value = 4;
fpSpread1.Sheets[0].AddSparkline("Sheet1!$A$2:$C$2", "Sheet1!$D$2:$D$2", FarPoint.Web.Spread.SparklineType.Column, ex); |
Visual Basic | Copy Code |
---|
Dim ex As New FarPoint.Web.Spread.ExcelSparklineSetting()
ex.RightToLeft = True
FpSpread1.Sheets(0).RowCount = 10
FpSpread1.Sheets(0).ColumnCount = 10
FpSpread1.Sheets(0).Cells(1, 0).Value = 2
FpSpread1.Sheets(0).Cells(1, 1).Value = 11
FpSpread1.Sheets(0).Cells(1, 2).Value = 4
FpSpread1.Sheets(0).AddSparkline("Sheet1!$A$2:$C$2", "Sheet1!$D$2:$D$2", FarPoint.Web.Spread.SparklineType.Column, ex) |
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