BorderCollectionColor Property |
Namespace: Aspose.Words
Returns the color of the first border in the collection.
Sets the color of all borders in the collection excluding diagonal borders.
Document doc = new Document(); PageSetup ps = doc.Sections[0].PageSetup; ps.Borders.LineStyle = LineStyle.DoubleWave; ps.Borders.LineWidth = 2; ps.Borders.Color = Color.Green; ps.Borders.DistanceFromText = 24; ps.Borders.Shadow = true; doc.Save(ArtifactsDir + "PageSetup.PageBorders.doc");