private void SetPen(IReadOnlyDictionary<string, string> rDict) { int pen_pattern = this.GetIntPr(rDict, "pen_pattern", 1), pen_width = this.GetIntPr(rDict, "pen_width", 1), pen_color = this.GetIntPr(rDict, "pen_color", 0); MiApi.mitab_c_set_pen(this.Handle, pen_width, pen_pattern, pen_color); }