private void fillColorToolStripMenuItem_Click(object sender, EventArgs e) { Atalasoft.Annotate.AnnotationBrush brush = GetAnnotationBrush(this.documentAnnotationViewer1.Annotations.ActiveAnnotation, "Fill"); if (brush == null) { return; } Color clr = GetColor(brush.Color); if (clr != Color.Empty) { brush.Color = clr; } UpdateAnnotationDefault(this.documentAnnotationViewer1.Annotations.ActiveAnnotation); //TODO: remove this //ProcessThumbnail(this._currentFrame); }
private void textColorToolStripMenuItem_Click(object sender, EventArgs e) { Atalasoft.Annotate.AnnotationBrush brush = GetAnnotationBrush(this.documentAnnotationViewer1.Annotations.ActiveAnnotation, "FontBrush"); if (brush == null) { return; } Color clr = GetColor(brush.Color); if (clr != Color.Empty) { if (brush.FillType == Atalasoft.Annotate.FillType.Hatch) { brush.HatchForeColor = clr; } else { brush.Color = clr; } } UpdateAnnotationDefault(this.documentAnnotationViewer1.Annotations.ActiveAnnotation); }