set the options field for the frame record .
200. LegendRecord rec = new LegendRecord(); 202. rec.field_1_xAxisUpperLeft = field_1_xAxisUpperLeft; 203. rec.field_2_yAxisUpperLeft = field_2_yAxisUpperLeft; 204. rec.field_3_xSize = field_3_xSize; 205. rec.field_4_ySize = field_4_ySize; 206. rec.field_5_type = field_5_type; 207. rec.field_6_spacing = field_6_spacing; 208. rec.field_7_options = field_7_options;