BackThemeColor
Stroke.BackThemeColor property
Ottiene o imposta un oggetto ThemeColor che rappresenta il colore di sfondo del tratto.
public ThemeColor BackThemeColor { get; set; }
Esempi
Mostra come ripristinare il colore, la tinta e l’ombra 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");
Guarda anche
- enum ThemeColor
- class Stroke
- spazio dei nomi Aspose.Words.Drawing
- assemblea Aspose.Words