Color

InkBrush.Color-Eigenschaft

Ruft die Pinsel-Farbe für eine Linie ab oder legt sie fest.

public Color Color { get; set; }

Beispiele

Beispiel:

[C#]
using (Presentation pres = new Presentation("pres.pptx"))
{
    IInk ink = (IInk)pres.Slides[0].Shapes[0];
    IInkTrace[] traces = ink.Traces;
    IInkBrush brush = traces[0].Brush;
    Color brushColor = brush.Color;
    brush.Color = Color.Red;
}

Siehe auch