Geometry.ShapeAdjustValues
Geometry.ShapeAdjustValues property
Gets a collection of shape adjust value
public ShapeGuideCollection ShapeAdjustValues { get; }
Examples
namespace AsposeCellsExamples
{
    using Aspose.Cells;
    using Aspose.Cells.Drawing;
    using System;
    public class GeometryPropertyShapeAdjustValuesDemo
    {
        public static void Run()
        {
            Workbook workbook = new Workbook();
            Worksheet worksheet = workbook.Worksheets[0];
            Shape shape = worksheet.Shapes.AddAutoShape(AutoShapeType.Chevron, 10, 10, 0, 0, 200, 100);
            Geometry geometry = shape.Geometry;
            Console.WriteLine("Initial ShapeAdjustValues:");
            foreach (ShapeGuide guide in geometry.ShapeAdjustValues)
            {
                Console.WriteLine($"Formula: {guide.Value}");
            }
            if (geometry.ShapeAdjustValues.Count > 0)
            {
                geometry.ShapeAdjustValues[0].Value = 0.3;
                Console.WriteLine("\nModified first adjust value to 0.3");
            }
            workbook.Save("GeometryPropertyShapeAdjustValuesDemo.xlsx");
        }
    }
}
See Also
- class ShapeGuideCollection
 - class Geometry
 - namespace Aspose.Cells.Drawing
 - assembly Aspose.Cells