AdjustmentCollection
AdjustmentCollection class
Salt okunur bir koleksiyonu temsil ederAdjustment
belirtilen şekle uygulanan değerleri ayarlayın.
public class AdjustmentCollection
Özellikleri
İsim | Tanım |
---|---|
Count { get; } | Koleksiyonda bulunan öğelerin sayısını alır. |
Item { get; } | Belirtilen dizinde bir ayarlama döndürür. |
Örnekler
Ayarlama ham değerleriyle nasıl çalışılacağını gösterir.
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");
Ayrıca bakınız
- ad alanı Aspose.Words.Drawing
- toplantı Aspose.Words