[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.Drawing.IAdjustments

IAdjustments Interface

Represents a collection of adjustment values for a specified AutoShape or connector.

An IAdjustments object provides access to the adjustment points that control the geometry of a shape. The number of available adjustment points depends on the current shape type. Use Count to determine how many adjustment points are available, and use this[int] as an indexer to read an adjustment value or assign a new value. Assigning through the indexer modifies the value of the specified adjustment point.

Namespace: GrapeCity.Documents.Excel.Drawing
Assembly: DS.Documents.Excel.dll
Syntax
public interface IAdjustments : IEnumerable
Public Interface IAdjustments
    Inherits IEnumerable
Examples
IShape shape = worksheet.Shapes.AddShape(AutoShapeType.Chevron, 10, 10, 120, 80);
IAdjustments adjustments = shape.Adjustments;
double value = adjustments[0];
adjustments[0] = value * 0.8;

Properties

Name Description
Count

Returns the number of adjustment points in this collection.

Adjustment points define the editable geometry values for the associated AutoShape or connector obtained from Adjustments.

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.