SetDefaultFill
ChartFormat.SetDefaultFill method
Restablece el relleno del elemento del gráfico para que tenga el valor predeterminado.
public void SetDefaultFill()
Ejemplos
Muestra cómo restablecer el relleno al valor predeterminado definido en la serie.
Document doc = new Document(MyDir + "DataPoint format.docx");
Shape shape = (Shape)doc.GetChild(NodeType.Shape, 0, true);
ChartSeries series = shape.Chart.Series[0];
ChartDataPoint dataPoint = series.DataPoints[1];
Assert.IsTrue(dataPoint.Format.IsDefined);
dataPoint.Format.SetDefaultFill();
doc.Save(ArtifactsDir + "Charts.ResetDataPointFill.docx");
Ver también
- class ChartFormat
- espacio de nombres Aspose.Words.Drawing.Charts
- asamblea Aspose.Words