SetDefaultFill
ChartFormat.SetDefaultFill method
Reimposta il riempimento dell’elemento del grafico in modo che abbia il valore predefinito.
public void SetDefaultFill()
Esempi
Mostra come reimpostare il riempimento al valore predefinito definito nella 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");
Guarda anche
- class ChartFormat
- spazio dei nomi Aspose.Words.Drawing.Charts
- assemblea Aspose.Words