BackThemeColor
Stroke.BackThemeColor property
Hämtar eller ställer in ett ThemeColor-objekt som representerar streckets bakgrundsfärg.
public ThemeColor BackThemeColor { get; set; }
Exempel
Visar hur man återställer temafärg, nyans och skugga.
Document doc = new Document(MyDir + "Stroke gradient outline.docx");
Shape shape = (Shape)doc.GetChild(NodeType.Shape, 0, true);
Stroke stroke = shape.Stroke;
stroke.BackThemeColor = ThemeColor.Dark2;
stroke.BackTintAndShade = 0.2d;
doc.Save(ArtifactsDir + "Shape.StrokeBackThemeColors.docx");
Se även
- enum ThemeColor
- class Stroke
- namnutrymme Aspose.Words.Drawing
- hopsättning Aspose.Words