[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.Drawing.IAdjustments.Item

this Property

this[int]

Gets or sets the value of the specified adjustment point.

Adjustment points control the geometry of an AutoShape or connector. Use Count to determine the available adjustment point indexes for the current shape before using this indexer. Assigning a value to this indexer modifies the value of the specified adjustment point.

Declaration
double this[int Index] { get; set; }
Default Property Item(Index As Integer) As Double
Parameters
Type Name Description
int Index

The zero-based index of the adjustment point in this collection.

Examples
IShape shape = worksheet.Shapes.AddShape(AutoShapeType.Chevron, 10, 10, 120, 80);
IAdjustments adjustments = shape.Adjustments;
double adjustment = adjustments[0];
adjustments[0] = adjustment * 0.8;