Interface IOfficeChartWallOrFloor
Represents the walls or floors of a 3-D chart.
Inherited Members
Namespace: Syncfusion.OfficeChart
Assembly: Syncfusion.OfficeChart.Base.dll
Syntax
public interface IOfficeChartWallOrFloor : IOfficeChartGridLine, IOfficeChartFillBorder
Properties
PictureUnit
Gets or Sets the pictureType in walls or floor
Declaration
OfficeChartPictureType PictureUnit { get; set; }
Property Value
Type |
---|
OfficeChartPictureType |
Examples
//Open a presentation
IPresentation presentation = Presentation.Open("Template.pptx");
//Get a bubble chart from the slide
IPresentationChart chart = presentation.Slides[0].Charts[0];
//Change the chart type to 3D
chart.ChartType = OfficeChartType.Bar_Clustered_3D;
//Get the side wall of chart
IOfficeChartWallOrFloor sideWall = chart.SideWall;
//Set the picture unit of side wall
sideWall.PictureUnit = OfficeChartPictureType.stretch;
//Set the thickness
sideWall.Thickness = 40;
//Save the presentation
presentation.Save("Output.pptx");
//Close the presentation
presentation.Close();
Thickness
Gets or Sets the thickness of the walls or floor.
Declaration
uint Thickness { get; set; }
Property Value
Type |
---|
System.UInt32 |
Examples
//Open a presentation
IPresentation presentation = Presentation.Open("Template.pptx");
//Get a bubble chart from the slide
IPresentationChart chart = presentation.Slides[0].Charts[0];
//Change the chart type to 3D
chart.ChartType = OfficeChartType.Bar_Clustered_3D;
//Get the side wall of chart
IOfficeChartWallOrFloor sideWall = chart.SideWall;
//Set the picture unit of side wall
sideWall.PictureUnit = OfficeChartPictureType.stretch;
//Set the thickness
sideWall.Thickness = 40;
//Save the presentation
presentation.Save("Output.pptx");
//Close the presentation
presentation.Close();