BackThemeColor

Stroke.BackThemeColor property

Obtiene o establece un objeto ThemeColor que representa el color de fondo del trazo.

public ThemeColor BackThemeColor { get; set; }

Ejemplos

Muestra cómo restablecer el color, el tono y la sombra del tema.

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");

Ver también