[]
Gets or sets whether the fill style should rotate with the object.
This property indicates whether the current fill style follows the object's rotation.
bool RotateWithObject { get; set; }
Property RotateWithObject As Boolean
IShape shape = worksheet.Shapes.AddShape(AutoShapeType.Rectangle, 20, 20, 100, 60);
IFillFormat fillFormat = shape.Fill;
fillFormat.TwoColorGradient(GradientStyle.Horizontal, 1);
fillFormat.RotateWithObject = false;
bool rotateWithObject = fillFormat.RotateWithObject;