IsDefined
ChartFormat.IsDefined property
Ruft ein Flag ab, das angibt, ob ein Format definiert ist.
public bool IsDefined { get; }
Beispiele
Zeigt, wie die Füllung auf den in der Serie definierten Standardwert zurückgesetzt wird.
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");
Siehe auch
- class ChartFormat
- namensraum Aspose.Words.Drawing.Charts
- Montage Aspose.Words