예제 #1
0
 private void SetTextDisplay(IReadOnlyDictionary<string, string> rDict)
 {
     double text_angle = this.GetDoublePr(rDict, "text_angle", 0),
         text_height = this.GetDoublePr(rDict, "text_height", 1),
         text_width = this.GetDoublePr(rDict, "text_width", 1);
     int text_fgcolor = this.GetIntPr(rDict, "text_fgcolor", 0),
         text_bgcolor = this.GetIntPr(rDict, "text_bgcolor", 0),
         text_justification = this.GetIntPr(rDict, "text_justification", 0),
         text_spacing = this.GetIntPr(rDict, "text_spacing", 0),
         text_linetype = this.GetIntPr(rDict, "text_linetype", 0);
     MiApi.mitab_c_set_text_display(this.Handle, text_angle, text_height, text_width,
         text_fgcolor, text_bgcolor, text_justification, text_spacing, text_linetype);
 }