StrokeJoinStyle Property |
Namespace: Aspose.Words.Drawing
The default value is Round.
Document doc = new Document(); DocumentBuilder builder = new DocumentBuilder(doc); // Create a new shape of type Rectangle Shape rectangle = new Shape(doc, ShapeType.Rectangle); // Change stroke properties Stroke stroke = rectangle.Stroke; stroke.On = true; stroke.Weight = 5; stroke.Color = Color.Red; stroke.DashStyle = DashStyle.ShortDashDotDot; stroke.JoinStyle = JoinStyle.Miter; stroke.EndCap = EndCap.Square; stroke.LineStyle = ShapeLineStyle.Triple; // Insert shape object builder.InsertNode(rectangle);