IsDefined
ChartFormat.IsDefined property
Ottiene un flag che indica se è definito un formato.
public bool IsDefined { get; }
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