Spread WPF Documentation
RotationZ Property
Example 


Gets or sets the z rotation.
Syntax
'Declaration
 
Public Property RotationZ As System.Double
'Usage
 
Dim instance As View3DSettings
Dim value As System.Double
 
instance.RotationZ = value
 
value = instance.RotationZ
public System.double RotationZ {get; set;}

Property Value

The rotation Z.
Example
This example sets the RotationZ property.
GrapeCity.Windows.SpreadSheet.Data.SpreadDataSeries series0 = new GrapeCity.Windows.SpreadSheet.Data.SpreadDataSeries();
series0.Name = "Series 0";
series0.Values.Add(1.0);
series0.Values.Add(2.0);
series0.Values.Add(4.0);
series0.Values.Add(8.0);
GrapeCity.Windows.SpreadSheet.Data.SpreadChart chart = new GrapeCity.Windows.SpreadSheet.Data.SpreadChart();   
chart.DataSeries.Add(series0);
chart.ChartType = GrapeCity.Windows.SpreadSheet.Data.SpreadChartType.Pie3D;
chart.Name = "name1";
chart.View3D.Perspective = 10;
chart.View3D.RotationX = 5;
chart.View3D.RotationZ = 5;
chart.View3D.RotationY = 5;
this.gcSpreadSheet1.ActiveSheet.Charts.Add(chart);
Dim series0 As New GrapeCity.Windows.SpreadSheet.Data.SpreadDataSeries()
series0.Name = "Series 0"
series0.Values.Add(1.0)
series0.Values.Add(2.0)
series0.Values.Add(4.0)
series0.Values.Add(8.0)
Dim chart As New GrapeCity.Windows.SpreadSheet.Data.SpreadChart()
chart.DataSeries.Add(series0)
chart.ChartType = GrapeCity.Windows.SpreadSheet.Data.SpreadChartType.Pie3D
chart.Name = "name1"
chart.View3D.Perspective = 10
chart.View3D.RotationX = 5
chart.View3D.RotationZ = 5
chart.View3D.RotationY = 5
GcSpreadSheet1.ActiveSheet.Charts.Add(chart)
Requirements

Target Platforms: Windows 7, Windows 8 Desktop, Windows Vista SP1 or later, Windows Server 2000, Windows 2000 Professional (SP4), Windows XP (SP2), Windows 2008, Windows 2003 Server (SP1)

See Also

Reference

View3DSettings Class
View3DSettings Members

 

 


Copyright © GrapeCity, inc. All rights reserved.