I have created a Line shape in PPT but i am unable to rotate it in particular angle.
Below is code block
D.Outline outline = new D.Outline( new D.SolidFill(new D.RgbColorModelHex() { Val = lineColor.ToRGBHex() }), new D.PresetDash() { Val = D.PresetLineDashValues.Solid }) // solid line { Width = (Int32)(lineWidth * ShapeUtilites.EMUPerPoint), CapType = D.LineCapValues.Round, CompoundLineType = D.CompoundLineValues.Single, Alignment = D.PenAlignmentValues.Center, }; shape.ShapeProperties.Append( new D.PresetGeometry(new D.AdjustValueList()) { Preset = D.ShapeTypeValues.Line }, new D.NoFill(), outline, new D.EffectList()); shape.NonVisualConnectionShapeProperties = new P.NonVisualConnectionShapeProperties( new P.NonVisualDrawingProperties() { Id = this.shapeId, Name = this.shapeName }, new P.NonVisualConnectorShapeDrawingProperties(), new P.ApplicationNonVisualDrawingProperties());
Thanks
Ankur