Item
AdjustmentCollection indexer
Gibt eine Anpassung am angegebenen Index zurück.
public Adjustment this[int index] { get; }
Parameter | Beschreibung |
---|---|
index | Ein Index zur Sammlung. |
Beispiele
Zeigt, wie mit Anpassungsrohwerten gearbeitet wird.
Document doc = new Document(MyDir + "Rounded rectangle shape.docx");
Shape shape = (Shape)doc.GetChild(NodeType.Shape, 0, true);
AdjustmentCollection adjustments = shape.Adjustments;
Assert.AreEqual(1, adjustments.Count);
Adjustment adjustment = adjustments[0];
Assert.AreEqual("adj", adjustment.Name);
Assert.AreEqual(16667, adjustment.Value);
adjustment.Value = 30000;
doc.Save(ArtifactsDir + "Shape.Adjustments.docx");
Siehe auch
- class Adjustment
- class AdjustmentCollection
- namensraum Aspose.Words.Drawing
- Montage Aspose.Words