ChartPlotAreaLayoutTargetType Property

If layout of the plot area defined manually this property specifies whether to layout the plot area by its inside (not including axis and axis labels) or outside (including axis and axis labels). Read/write LayoutTargetType.

Namespace:  Aspose.Slides.Charts
Assembly:  Aspose.Slides (in Aspose.Slides.dll) Version: 21.11.0.0 (21.11)
Syntax
public LayoutTargetType LayoutTargetType { get; set; }

Property Value

Type: LayoutTargetType

Implements

IChartPlotAreaLayoutTargetType
Examples
 using (Presentation presentation = new Presentation())
{
     ISlide slide = presentation.Slides[0];
     IChart chart = slide.Shapes.AddChart(ChartType.ClusteredColumn, 20, 100, 600, 400);

     chart.PlotArea.AsILayoutable.X = 0.2f;
     chart.PlotArea.AsILayoutable.Y = 0.2f;
     chart.PlotArea.AsILayoutable.Width = 0.7f;
     chart.PlotArea.AsILayoutable.Height = 0.7f;

     chart.PlotArea.LayoutTargetType = LayoutTargetType.Inner;
     ...
}
See Also